I had a similar sounding problem...
Several times in the last week, within the first 10 minutes of operation after morning start up, the car has lost power. HeadLights dim, tach drops to zero. The first time it happened it lasted only 3 seconds and then everything came back on line by itself.
It happened again this morning and it lasted much longer, about 30 seconds. I didn't think it would come back online, but after coasting over to the shoulder, it finally came back by itself.
Never has happen on the way home from work
Tomorrow I'll look for any codes. Hopefully they'll point me in the right direction. If not, I'll try the crankshaft sensor. I sure hope it's not the PCM as I'm sure that would cost a lot more to replace.....