Had something like this once, has it had a new ignition amp? if so there needs to be lots of heat cream between it and the alloy mounting plate. Otherwise the amp over heats and causes a misfire or even shut down!! Its ok when cold, but it would get worse as the motor warmed up! In my case it had me goin for a while!!
Cheers....