"it's only running on 2 cylinders No 2 and No4 but when I swap the blue and yellow wires that come from the points it runs on No1 and No3 cylinders"
This seriously makes no sense. Reversing the coil wires shouldn't have any cylinder firing so that the engine would try and run.
I can't think of anything that could do this except - maybe - having the plug wires mixed up, with the 1-4 coil going to plugs #1 & #3 for example.
The points for 1-4 should fire at (close to) TDC on 1 & 4, BDC on 2 & 3. So connecting the wrong points set to a coil should absolutely not have any useful ignition... sometimes the fuel/air is ignited with the intake valve still open on the end of the intake stroke, firing a sweet flame out of the carb.
So reversed SOHC4 coil wires (not uncommon!) gives you no running, with bonus backfiring. Not "running on two cylinders"...