Your truck has 4 oxygen sensors 2 that are upstream left and right side and 2 downstream left and right side. You would have to provide us with the fault code that is showing which sensor is bad because it is very rare that all 4 sensor would fail at the same time. Here are tutorials showing what is involved for testing and changing oxygen sensors: