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

Rookie cbe0621eac06868b3efe0d8d1d3611e23c60d3114864ea2ec19a68cfbd3eebab
It keeps the engine light on and wont let me pass the smog test in NYC.
(2) Answers
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.