use a multimeter and run continuity tests.
Basically the white wire is primary signal
grn/wht wire is sensor ground
blk/yel is power
orn/red??? is heater signal
If the stock harness has a four wire o2 sensor plug then just extend it. If it has the 1 wire plug it will probably be easier to just wire at the ecu.
__________________
Don't bother giving me "rep", I won't return it and I think it is stupid.
Gracie Barra Clearwater

Gyms in Clearwater, St. Pete and Port Richey
pm me if you are interested in trying a free class at any of the gyms.