Check the ECM
fuse and then check for any loose wire connectors, especially at the fire-wall area, the ignition coil, and the distributor. Then check for battery voltage at the positive side of the ignition coil when the ignition key is in the "On" or "Run" position, and there should also be battery voltage running over from a wire that is also connected to the positive side of the ignition coil, and then that wire will run over from the ignition coil to the ignition module inside of the distributor, and if there is battery voltage there at the ignition module, then either the ignition module or the pick-up coil inside of the distributor will be the most likely suspects for the cause of the problem.
The ignition module and the pick-up coil/stator located inside of the distributor is actually what generates the signal that the ECM
(Engine Control Module) uses to time and fire the fuel injectors, as well as the signal to run the fuel pump and the dwell signal timing to fire the ignition coil, and a faulty ignition module can cause any one of these systems to malfunction.
That does sound like it could also be a malfunction with the ignition module inside of the distributor, and you can remove the ignition module and have it tested for free at most auto part stores. If the ignition module does test out alright then the problem could still be in the pick-up coil/stator, (it can be tested using an ohm meter by dis-connecting the wire connector from the pick-up coil/stator and the ohm reading between the two wires from the pick-up coil/stator should be between 500 and 1500 ohm's, and both of the wires from the pick-up coil/stator should show an open loop or an infinite reading between each wire and ground) and if the pick-up coil/stator is found to be faulty then replace the entire distributor, or the distributor will have to be dis-assembled to install a new pick-up coil/stator.
If you do purchase a new ignition module be sure that it does come with a silicone grease or a die-electric compound because it is a heat sink and the ignition module will burn up without it.
To install the new ignition module first clean out the mounting surface inside of the distributor. Then completely coat the metal contact surface under the ignition module with a thick coat the silicone grease or die-electric compound and do not leave any of the metal contact surface of the ignition module un-coated with the silicone grease or die-electric compound, and be very careful not to over-tighten the ignition module or it will be damaged.
The same principal applies to HEI
(High Energy Ignition) ignition systems with the ignition coil mounted in the top of the distributor cap.