Is your truck 2WD like your title suggests?
If it is, the engine DOES NOT have to be removed...Even though these do not show the whole underbody of the truck in one picture, it should give you an idea of what is not in the way...Look at the pictures below...You will see there is nothing in the way of removing the oil pan on the engine.. Granted this is an OHV but the SOHC engine mounting and frame setup is the same.. The SOHC has a 2 part pan and ladder frame setup but removing the pan with the engine in place is the same...
When I first bought my X, the oil pump did not work thanks to lack of maintenance...It took me longer to jack the truck up and secure it on jackstands than it did to remove the starter and the 24 bolts holding the pan...And from start to finish removing the pan took an hour...Replaced the oil pump, cleaned out the sludge in the lower part of the engine and pan, replaced the pan and filled with oil...Another hour or so...I didn't even replace the oil pan gasket; I just coated it with Permatex Avation Form-A-Gasket since I didn't know if I would be back in there or not...20k miles later I still had 50 psi hot oil pressire..
NOW; if you have a 4 wd then you have the front axle and probably the transfer case to deal with...But the pan can be removed from a 4WD if you remove the front axle...More work involved obviously...