Wheelbase may be important or not, depends. From a pure "best" for technical trails most people feel about 100 to 110 inches is the sweet spot. Not so short as to be unstable but not so long as to be difficult to maneuver.
Too short can be a handful on highways, especially on snow or otherwise slick surfaces. For pavement the longer wheel base is more comfortable generally. Short wheel base also means less interior space. So it's a trade-off.
Personally I was happy with a 122" wheelbase on my 1991 XtraCab pickup with a 6 foot bed. The right combination of cab space, bed space and still not too bad to swing around switchbacks. The Tacoma Access Cab that replaced it is 127" and doesn't feel to me any worse. I think the turning circle is probably close to the same on both, guessing because of rack-and-pinion steering and the front suspension geometry.
If I was really concerned with any dimension it's the overhang, e.g. the approach and departure angles. That's the one thing that usually hangs me up, the long rear overhang of a pickup. The middle length, which is measured by the break-over angle, is rarely a problem on mild trails as far as capability. IOW, I don't often get high centered to the point of being stuck. You may find sliders and belly skids slightly more useful with a longer wheelbase, mostly for protection.
None of it really matters most of the time to the point that you should select a 4Runner solely based on its wheel base compared to a Tacoma unless your intention is to truly test it on technical trails. I'm talking about rock crawler type stuff and that doesn't sound like your use anyway. Pick the vehicle that best meets your needs, do you need a pickup bed or interior space?
Then work around your compromises. There's always a time a 4Runner owner wishes he had a place to throw muddy bikes and a Tacoma owner who wishes he had interior cargo space for Christmas gifts. It's never perfect 100% of the time.