1994 S10 blazer sometimes stalls

I have a 1994 S10 blazer with the vortec motor. sometimes i can go right down the street shut it off and try to crank it and no fire, let it sit over night and next day it will crank right up.doesnt seem to be any hot or cold makes a difference. i changed the rotot, cap, and control module.has anyone else had this problem.

please help

You MAY have a faulty IAC valve.

STILL no edit button!

You may be experiencing a fuel pump or a fuel pressure problem instead.