Modern MoPar and O2 sensors

I'm working on an 04 Dodge Dakota, with a 4.7 motor. I bought it with a bad engine (surprise, surprise!) and have just put a remanned engine in it. I'm having to replace the right side upstream 02 sensor, and just ordered a Denso replacement today. I hope I don't get into some of the same mess that y'all have!