Why won't my car start after shutting down on highway?

My car shut down while driving on the highway. I tried to turn it back on but it won't start. It cranks but won't start. The battery is fine. The fuel pump is fine. I think the distributor cap isn't getting power. Can it be the ignition module? Its a 1994 ford tempo lx with 70k miles on it.

Have the alternator tested.

I think it could be the module if it starts after cooling off