Having had both (a later 4Runner and a '94 XJ 4.0 4x4 Sport), I'd say take a close look at both.
Specs have them at about the same length (4Runner slightly longer), XJ is wider, and the 4Runner is taller by < 2 in. Specs on the vehicles are pretty similar, actually.
Here are links, in case...