Hello, and welcome. the oil pressure sensor is located on the driver side of engine towards the back. you can get to from underneath of truck. takes about 45 minutes to replace. here is a picture of it's location.
If there is anything you dont understand, Please feel free to ask me to explain.