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

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?

Asked by for the 2000 Saturn LS2
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.