Plumb-in a fuel pressure gauge to the fuel rail.
When the engine dies, check if the fuel pressure is still there. If not, you've found the problem (pump, filter, furl lines etc).
If the pressure is still there it's more likely to be electrics.
'73 Jensen Interceptor (Resting)
Giant Full Sus Mountain Bike