O2 sensor wires are not important, if you know which ones
do what, on a 3 wire sensor, two are the heater, and one is
the value the computer needs, likely your O2 is just fine, and
the wire that feeds info to the computer is working.
Check it out before parting with hard earned cash
Wild