Why my car does not stay on?

I have a 1997 Honda Accord LX 2.2l non VTec, the car starts fine but in an instant the car suddenly goes off, I have already replaced ignition control module, distributor seal and distributor cap. Before all that was replaced I took the car to auto zone for a check engine light diagnostic, it gave me speed sensor, MAP sensor and oxygen sensor.

Sounds like the classic Accord bad ignition switch, there was a recall for these. Try starting it and then slightly holding it toward "start" or wiggling the key back a bit but still at either end of the "run" position. If it keeps running it's a bad switch. Most you can unscrew from the back of the cylinder and change with a new harness.
Failing that, the codes could be real and you will need diagnose to those. A bad MAP could easily cause your problem but that's not a common failure.

You have already spent lots of money throwing parts at the problem and you still have the problem. It is time you take the car to a professional with the equipment and knowledge to actually repair the car.

Why don't you replace the sensors that the diagnostic spat out…