"something with the words oxygen sensor bank 1" is not a code. And there's usually more to the error than just a code number, and that "more" tends to be important. My only experience with trying to die when I came to a stop was when I had a crack in the intake tubing (old Ford Probe). I was having to shift to N at lights to keep it from dying. Once I found the crack in a corrugated flex part of the intake path and replaced it, all good again. I wouldn't say an intake leak or O2 sensor failure at that mileage would be normal. But someone has to be the extremes of the statistics. You didn't say anything about misfire codes; seems fine running but idles rough (I wouldn't say nearing stalling though, just idling rough) is often the PCV. Now that is a part that is pretty common to fail on these engines.
But as noted, if the car's in-service date is after Feb 2016, you're still under warranty. Just have the dealership fix it.