I just went thru the same thing with my 96 grand cheerokee.Thing would just shut off when ever it felt like it no warning no codes.Turned out to be a crank sensor.