If the electrical doesn't fix it, check the expansion chambers for nesting material. It could run fine until there is enough exhaust pressure to lift it and plug the stinger, then drop when the throttle is let off.
I've seen it with nuts. (The tree kind, not the mate to a bolt kind)