Electric Fuel Pump Shuts Motor Off

The pump has to be working or the engine wouldn't run at all cause it wouldn't be getting any gas. Did your on/off switch somehow get turned around so when you think it's on it's really off?

BTW: why are you turning the fuel pump on and off while you start it anyway? Needs to be on to get fuel to the engine.