Agree with the above. It's difficult to tell what the culprit is at this point.
However, if it's the NOx sensor(s), you have to replace both nox sensors and modules as a set. They are calibrated to each other and are not interchangeable. There's one on the turbo downpipe (module is on the hot side of the engine block) and another behind the SCR catalyst with the module mounted to the passenger frame rail.
That code means a few things:
Degraded or diluted DEF
clogged DEF injector
malfunctioning DEF dosing system (could be either pump or injector)
Malfunctioning SCR catalyst
It might not hurt to remove the DEF injector and inspect it for crystalization to see if it is clogged. If the DEF that is/was currently in the tank has been in there for >6 mos or so, there's a good chance it has started to go bad. You may get away with cleaning the injector. I'd start there anyhow. It's free to do.
You may also want to remove the DEF pump from the bottom of the tank and clean the tank really well. You can disconnect the fittings to the tank and insert a small pump with some hose to get as much out as possible. Then refill with DEF that has a fresher date (or... get some from a big truck stop... theirs is typically always pretty fresh).