My car shuts down while driving and then won't restart for 30 minutes or longer on 2000 Saturn LS2

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
I went to Sears and had them look at it and they said my battery and my alternator were fine. It seems like the car can sometimes go for awhile without shutting down and then this last time it couldn't go a few minutes without shutting down. What is going on?
(1) Answer
Replace the crankshaft position sensor. This is a common problem on the LS2. If you want to do it yourself, it is located near the oil filter, low and to the right.