How much would it cost to replace the oxygen sensor on a 1997 4runner, Toyota on 1997 Toyota 4Runner

It keeps the engine light on and wont let me pass the smog test in NYC.

2 answers
$200 to $250 is reasonable.
Depends, are you doing it or going to a garage. You need to get the code read so we know which oxygen sensor it is.