Mine did the same thing - I replaced the computer board - ordered myself and put on (easy) and problem resolved. I tried everything else first - nothing worked.
I bought grand jeep Cherokee before 6 months, at first it was driving good but later it started stalling in the middle of the road. I changed the Throttle body, i took it to a mechanic he cleaned the IAC, TPS, and it still keeps stalling.The worst right now is it started stalling when i am speeding up on freeways. Please i will appreciate for any response.