2003 Jeep Grand Cherokee - Trouble starting then stumbled

One morning it would not start right away. The battery and gas gauges did not come up. The key symbol came on and the check engine symbol came on.
Cycling the key three times fast and leaving it on the third time did not produce a code. Once it did start everything was normal. It stumbled once on the way to the shop. On the advice of a couple of mechanics I trust I had the crank sensor replaced. no good same symptoms. Got it started and drove it for a few miles without troubles. Next morning same thing. Suspect PCM?

The key icon indicates the ignition doesn’t recognize the key. Try a different key and see if it works.