Don't start by chasing the thermostat/temp sensor angle. That's rarely it. Typical worthless AutoZone input. If you can read temp off the ECU and those readings make sense, it's likely a MAF issue. Start with a good MAF and throttle body cleaning and go from there. Check all vacuum connections. Don't throw parts at it.
__________________
'99 4Runner SR5 5spd 3.4L V6 4WD(U.S), original '99 Talls in front, OME 906s in back, Hella fogs, Trekmaster shocks in front, Billy in back, no running boards, FIAMM horns, Alpine sound, Michelin LTX M/S2's, owned since new.
'97 HiLux SW4 5spd 4WD(Japan model bought in Brazil assembled in Argentina, very close to a 3.0 4Runner/Surf)
'71 FordWillys Jeep CJ5 (with straight six Ford Maverick 3.0 liter engine--lives in the mountains north of Sao Paulo Brazil)
My Backyard Frame Swap