ok, but since it ran fine, motor removed it no longer runs fine, then it starts running fine again, and now it doesn't
I would bet it's an electrical issue and a bad connection. Fuel pumps, injectors, sensors, ECM, don't do things that resemble and light switch on/off/on/off