the answer is yes, in 98 Ford made a Explorer with a 5.0L V8
So you can drop a 5.0L drivetrain into your truck
However it does require ALOT of parts
You will need the complete engine/ transmission/ transfer case, driveshafts, exhaust, computer, wiring, etc
Basically you would want to get theentire donor truck to make sure you get all the parts you need. Also there is the PATS issue to deal with (security key must go with the engines computer) and in 98+ they have a different fuel system so there are some things to consider
Your rear axle can stay though LOL
For most people the answer to this is sell it and go get a V8, because of the amount of parts needed and amount of work involved, although for others the entire swap can be completed in a weekend