Avoid 2001-2004 Rangers with 4.0l SOHC engine unless there is a service record that timing chains have been updated, once they were updated there were no issues, well same issues as any engine with 2 longer timing chains, lol
You have to pull out the engine to do this service work
Also 2004-2006 Rangers with 3.0l, had exhaust valve recession issue, if heads have been changed then they are fine
The Mazda B-series are exactly the same as the Rangers by year(1994 and up), and are often priced lower
B4000 is 4.0l
B3000 is a 3.0l
B2500 is a 2.5l 4cyl(1998-2001)
B2300 is a 2.3l 4cyl(2001-2011 are the 2.3l DOHC engines, which have been good reliable engines)
2004 and up Ranger's or Mazda's have digital instrument clusters, these can not be swapped easily so mileage shown is usually correct
2003 and older clusters are easy to swap out, so "buyer beware" on mileage shown on cluster, check pedal wear on a "low miler" if they look "new" they have been replaced to try and match a swapped low mile cluster
Make sure CEL(check engine light) works, it should come on with key on and go off when cranking or after startup