As someone who has had a few 3rd gen 4runners and 1.5 gen xterra, the xterra is the more reliable vehicle. The 4runner is better.
At 230k miles the 4runner feels as tight as a new vehicle. But it always seems to need some small electrical part replaced. Nothing that strands you, but it will...