Cusser
+1y
Yes, check for vacuum leak, like a hose that has cracked or has fallen off. There are asldo some vacuum caps on the intake manifold, covered with caps (like if you do not have power steering or cruise control, which use vacuum).
And for sure I'd pull the EGR valve, and make sure that it wasn't stuck partially open; this happens on these trucks, and causes stalling big time. I've had the same symptoms with my truck and the EGR was stuck partially open. Stuck EGR valves can typically be cleaned out and put back into service. New ones are over $200, so don't just blindly replace one (if the EGR turns out to be your issue, and you can't get yours working, I have two working used ones, PM me).