You switched wires, but did you switch or put new plugs in? Coil could be getting weak, stator could be getting weak, flywheel could be shot. Cdi might be going , could have a bad ground. Check your reeds on that cylinder, do a leak down on that cylinder. Have you pulled the carb off and cleaned the jets?