99% of the time, it IS the sensor itself...rarely EVER a wiring problem. With that code, replacement of the sensor will likely fix it.

How many miles on the car?

That's the front right 02 sensor (passenger's side), mounted on the rear half (cylinders 4 & 5) of the 2 piece exhaust manifold, at the expansion chamber, just before the connection to the down pipe.