If not starting, or dying, crack an injector and turn it over. Confirm if foaming (air) or no fuel (shutoff solenoid, plugged filter, plugged line, plugged inlet at tank).
I had a gas cap (fuel filler cap!) on my first gen quit venting. So, when driving it would create a vacuum, or when the temp changed hot-to cold and the fuel contracted it would create a vacuum. Pull the cap and see if a vacuum is created. Add to that from the tank to the lift-pump inlet is pulling a vacuum and there are plenty of places to pull air instead of fuel. Check all those connections and lines. They won't leak fuel, so hard to find.
I've also had a hard start issue solved by tightening the "hidden" fuel line fitting between the fuel filter housing and the inlet of the pump - it is under the intake on the driver's side, above the tappet housing. You almost have to feel for it to know it is there.
Good luck,
jon.