If they've got the same style suspension up front, then yes. The rear suspension are different between the two though.
Basically, a '94 explorer suspension won't work on a '99 ranger. '96 explorer suspension won't work on a '96 ranger. If the same style suspension is on both, they are the same up front.
'01 XLT disguised as a '03 Fx4 Level II.