I would still pull the electrical motor on the IAC and physically rotate that valve shaft while spraying some cleaner through the port. It's highly unlikely the electrical motor has gone bad...it's yer call...
TPS...
http://www.toyodiy.com/parts/p_U_199....html?hl=89452
From ToyotaPartSales.com...
Item Number MSRP Core Price Price
8945235020 $59.56 $0.00 $46.55
Electrical - Powertrain control - Throttle position sensor
Throttle position sensor, t100, 6 cylinder 1997 - 1998
IAC...
http://www.toyodiy.com/parts/p_U_199....html?hl=22270
From ToyotaPartSales.com
Item Number MSRP Core Price Price
2227062050 $248.47 $0.00 $194.19
Fuel system - Fuel induction - Fuel injection - Idle speed control
Idle speed control, t100, 6 cylinder 1997 - 1998
Factory service manual on eBay...fer about $105 shipped...
http://cgi.ebay.com/ebaymotors/ws/eB...m=310111059987
...or about $90 shipped...
http://cgi.ebay.com/ebaymotors/ws/eB...m=390050524944
Electrical wiring diagram...fer about $30 shipped...
http://cgi.ebay.com/ebaymotors/ws/eB...m=390048399744