Joe,
It has a crank sensor and a camshaft sensor. One of them reads rpm. The ECM has to "see" that the engine is turning before it will fire the injectors.
It could be your starter as well. Next time you go to start it, turn one of your cab lights on. If the light really dims while...