First off: Welcome to the forum!
Secondly: Back in 2002, I had a 2002 Dodge PU that did the VERY same thing. And it should be covered under warranty. I took it back to the dealer and not only did they fix that issue, they found a couple of safety recalls and took care of them too.
Chances are it's the O2 sensor itself.