I'd defer to someone with a diesel, I know so little about the 6.2's I can't comment on locations for the sensors. I do know that at least some, if not all, diesel clusters use an 80PSI oil pressure gauge which requires a different sending unit.
It would be an oil pressure sending unit. Sensor is for a computer. This day and age saying sensor you most likely would end up with the wrong part.
I'd refrain from buying anything until you diagnose the problem, if thats where you were heading. The temp senders almost never go bad, and the oil pressure sending units do, but that is fairly uncommon as well. The wiring on the back of the instrument cluster, or PO's cutting wiring are far more common problems with these setups.