1996 chevy s10

my 96 chevy s10 will not start after it heats up when you turn the key dash lights come on but starter will nbot turn over engine i have to wait about an hour i have replaced the ignition switch,starter and ignition control module

Automatic? If so, there’s likely an interlock attached to the transmission stick that disables starting other than in the park and neutral position.
If you know how to use a multimeter or test light, put the light on the starter’s thick wire. That wire should always be hot. It should be connected directly to the battery.
Then check the thinner wire to the starter. That wire should only be hot when you hit the ‘start’ position.
Not sure about an S10 but it may have a starter relay that’s not activating.