I had a similar problem in the spring. I replaced the sensor but broke the wiring connector. The new sensor didn't seem to work. Eventually I found that the rubber elbow that comes out of the back of the map sensor and elbows into the throttle body had a small crack in it, causing the code and for the truck to stall out if I wasn't on the gas. I have the 4.0 but it wouldn't hurt to check this because I overlooked it and it was a really easy fix.