Re: 2005 Grand Cherokee shutting down
Welcome to the garage.
Do the keydance to check for any fault code set: ignition switch off/run three times and leave in run at the third time. Odometer will show the code(s).
It can be many things, but one common item is crank or cam position sensor.