There was a similar thread on this here:
https://wranglertjforum.com/threads...jeep-downstream-fuel-trim-system-1-lean.2930/
The O2 sensor you'll want to replace is Bank 1, Sensor 2 (Downstream), and the replacement sensor you'll want to use is
NGK #23159. Do not use any other sensor than that one, as any brand that isn't NGK will give you issues and will not get rid of the check engine light.
While you're at it, I'd just replace all the O2 sensors while you're in there, since it's cheap, and good preventative maintenance.
There's a thread on this here with all the information (and sensors) you'll need:
The Official Jeep Wrangler TJ Oxygen (O2) Sensor Thread
Also, there is a TSB 18-028-06 that is specific to the 05 wrangler concerning the check engine light and code P2096 or P2098. If that is the only code and everything else is fine, the TSB requires reprogramming of a code section of the PCM which will cause the code and check engine light erroneously.