A loose wire connection? Start from point plate, blue, yellow should be properly connected, fiber washers, Blue, yellow wires connected to the main harness. Under tank black/white feeding coils. Maybe a bad plug cap?
Important if the problem is on 2 cylinders like 1,4 or 2,3 which indicate one point with its connections to coil. Only one cylinder check plug wire and cap for that cylinder.