I had this problem when my truck was newer. The butterfly in the throttle body was closing too far and binding. Plastic shrinks and expands more than metal so when it is colder the problem is more noticeable.
The 4.0 SOHC throttle body has a stop adjustment screw for the butterfly linkage. I adjusted it a little to keep the butterfly from closing so much. The problem went away.
I don't know if the 4 cyl throttle body has an adjustment screw but it should not be difficult to find if it does have one. It looks like it is an idle adjustment screw but don't try to use it for that.
2002 FX4 Bright Red Supercab 4.0 SOHC, manual 5-spd & Tcase, 33" BFG MTs, K&N air filter, Modified air box inlet, Gibson SS cat. back exhaust, Bama flash, Hidden Hitch round receiver, Rear helper air springs, Electric trailer brake controller, Line-X bed liner, WAAG bar with KC lights and Wildernest shell.