Fuel delivery problem; maybe?

It could be the ignition something in the switch. Making it do that had that happen with one of my trucks put a switch in it did fine