OE number is 22690AA130, but of course is JDM only.
Luckily, I had the connector head so using a 3-wire universal was an option.
I used a 3-wire universal for a 96 Legacy 2.5 (upstream, as the downstream is 4-wire, but has a longer wire).
I wanted to keep the factory routing along the pass side timing belt cover (as I'm using the factory EJ20G pigtail location), but the 3 wires are a few inches too short. So I pulled the wires apart and found JECS just wired extensions from the Bosch sensor to the connector to get the ~19" of wire length. The sensor itself is most likely the same as the USDM sensor.
For future reference, the O.E. sensor is JECS, licensed from Bosch. A24-641 208 26182
The Bosch universal is about 0.5 in. taller than the OE, but looks the same.
FYI
Ref pics:

