When it dies, and you go to try to re-start it, do you hear the fuel pump run for a few seconds when you turn the ignition on? I believe it always fires the pump, even if the lines are already pressurized. If you don't hear that - when it doesn't start - it's the pump. Would be my suspicion rather than the ECU.