For a few months now on my 05 , after driving and the engine is warmed up I would stop some place
(in this case shopping at a store) the jeep would not start , it acted like it was in drive or if you try to restart without turning the key to off , the first time this happen I thought it was a failed battery and since we were at Sam's I had them replace it, eveything was fine for a while and then it did it again .
So I cleaned the battery connections and it started , that that was my fix at that time to get me going ,
it got to the point after it warmed up it would happen every time I stopped. So I replaced those battery connectors thinking that was it. Nope still happens . so yesterday after getting tired of dealing with it I realized that I must be reseting some thing when I disconnect the battery . so when it did it again I pulled fuse 14 (ECM and starter relay) and low and behold it started right up, turned it off and try to start , no start , so next I found the starter rely and switched it with the fuel heater relay (same PN) and then it started and has since I did that , so that relay must turn into a latching relay when it warms up
Well I guess it is not fixed , because it is back and this time the only way to get to reset and start is to pull the battery cable 