Country, this sounds like a typical idle air valve problem on this vehicle.
The valve will cost anywhere from $50-$70 and with the tech time, the cost to repair seems about right.
These emissions issues will sometimes make your truck fell like it's missing upshifts, but a transmission problem almost never causes the vehicle to stall.
Sounds like your guy has it right.