This probably won't help, but I had a similar fault on a Daimler.
Same symptoms, engine cutting out - usually on tickover - hard to restart.
Eventually refused to start, no spark, apparantly no fuel flow.
That turned out to be the Crankshaft Position Sensor. You've already fitted a new one, so probably not that unless the crankshaft position marker is cacked up.
The apparent lack of fuel supply in not unusual.
The way most FI systems work is for the pump to run for about 1/2 second or so when you switch on the ignition in order to pressurise the system, then only run again once the engine has started. This is to prevent the fuel sytem flooding the engine when the engine is not actually firing.
If you did run out of fuel, you can try switching the ignition on and off a few times to pressurise the system fully. Switch on, wait 2 seconds, switch off - repeat 5 or 6 times.
Testing a fuel pump can be done easily by attaching a battery charger to the electrical connections, then switching it on for a couple seconds and listening. DON'T be tempted to connect or disconnect the charger leads with the power already on.
These new fangled
controlled cars may be pretty effecient, but they can be a real pain in the 'arris when they go wrong !