Unplug the transmission sensor if you are stalling after street or freeway driving. It doesn't hurt anything at all. Be sure though to tel your mechanics NOT to plug it back in (they think they are doing you a favor when they see that it is unplugged) or you will continue to have the same problem.
After months of having this problem and spending hundreds of dollars on it, the problem was FINALLY detected...the sensor heats up and causes the stalling.
I've had my sensor unplugged for years now, and it truly doesn't affect ANYTHING.
Stalling after battery replacement. I found that if you drive the car steadily at least 50 mph and turn off/on all accessories, heating, AC, lights, etc. the engine will re-learn the idle speed and correct itself. No need to do the idle lean procedure. Believe me, I've been doing this ever since I bought the car new. That was 20 years ago.