As mentioned it could be a coil, or condenser
Loss of Fuel to carb,check for adequate flow when it stops.
Could be a stuck valve, does it back fire out the exhaust or intake?
Just simple no cost checks for you to do,
before throwing non needed parts at an unknown problem.
K.I.S.S,--- Keep it simple/stupid