thats just what a bad crank sensor does, stalls out driving randomly, it might fire right back up or it might fire up 30 minutes later, or once its real bad stalls and dont fire back up, you could try every morning for a week, then on day 7 it just fires up.

and the best part....it hardly ever sets a code for it. but we all know what it is here.