Hello I would like to help you with this.
The fact that the engine light comes on sounds like the engine is Shutting off.
Does the engine completely die or does it just loose the power?
It could be electrical can you confirm that the alternator is Charging? are there any loose main power wires?
It Could also be a fuel pump or fuel pressure regulator. I would check your fuel pressure and make sure that it is correct. Have you checked your Fuel filter?
did this happen after you replaced all of those parts or was it that way before as well?
Could be the crank sensor.
But just because you have fuel to the injector does not mean you have enough fuel pressure. I would still check the fuel pressure