Based on your symptoms that you posted at Fixya, thats what I was leaning towards. The easiest way to know for sure is after the engine shuts down, pull the #1 spark plug and check and see if you have spark there. If you dont, its likely the CPS or crankshaft position sensor is bad.
Ive had this sensor go out on me twice, both times it exhibited a different set of symptoms, but symptoms that are common to a CPS failure. The first time it went out, my car would stall, but start back up usually right away or within a minute or so, the TCS would shut off and my tachometer would read 0 (the CPS provides the tach signal) if the engine didnt stall.
The second time it went out, I could go out and start my car to let it warm up and within 5 - 10 minutes, it would shut down on its own and would not start back up until it had sit for about 15 - 30 minutes. When it shut down, I would have no spark at all.
The two important clues here to me is that it shuts down after running/idling for a few minutes and that it doesnt start back up right away. There could be other culprits, but the crank sensor is the more common culprit in this case.