My 89 cherokee was acting much the same... I replaced the CPS and that was it... Mine ran fine until the temp got up to 195, then would cut out / stall and just run really rough till it was cold again. Try the Crank Position Sensor (CPS) 42.95 - Good luck