OBD2 Code p1740 and p1741
Here are what the codes mean, if you cant make the repair bring the truck to a good tech to do the repairs / http://www.obd- codes.com/trouble_codes/ford/
Those are classic lean codes, so you have a vacuum/air leak somewhere after the MAF sensor. So any cracked hoses to hissing sounds or failed gasket/seal will trip these codes. Sometimes easy to find, sometimes not. A mechanic can perform a smoke test to find them easier.
Search Ford Ranger Questions
Are you a UK consumer? CarGurus now has a discussion forum in the UK.
Ford Ranger Experts