Sorry pressed enter too soon.
The fuel pressure needs to be a required pressure for the Ecu to fire the injectors so it must be attaining that pressure for even a short amount of time. And all else must be good or it would nt run for the 5 seconds.
There is a common fault with a 3 wire yellow connector that goes to the fuel pressure sensor. High resistance causes similar faults corrosion on the pins, cut out or clean and replace.