This is classic blocked fuel tank symptoms.
When it stops pull the fuel line off at the tank side of the fuel pump , remove the filler cap and blow back through the fuel line .
It will probably be very hard to blow at first till you dislodge the debris
If this seems to temporarily fix your problem then time to remove the tank & clean it out .