I have a 2017 Jeep Cherokee, and recently I've had the car stall and flash the message "shift into park". I had to shut the car off and restart. It's happened twice. I took it into the dealer yesterday, and the service rep said they probably wouldn't find anything if they ran diagnostics, so he said leave it alone.
I've seen other people have had this same problem -- it's frustrating that there is no resolution from Jeep. Or at least guidance to their dealers.