This forum is mainly for the new 5th Gen Ranger (2019-20), but someone may chime in with an answer. You could also check therangerstation.com forum....they have a 4.0 specific section which will probably get you an answer quickerI bought a new 4.0 engine and a new camshaft locator for my 1999 Ranger XLT. I am unsure of the degrees of offset when I install I drop the locator into the block.
Good Luck on the 4.0 build !