Heavy duty truck and light duty truck/SUV have different sensors, they are NOT interchangeable.
You need a sensor for an HD truck...best to match the part number with your VIN.
Those sensors arent just a "switch" like everyone thinks they are. There is an actual microprocessor and solid state accelerometer and shock-sensor chips in there. It is a mini-computer, believe it or not.. The EFS (electronic front sensor) communicates with the SDM (airbag module, located under the drivers seat) via data...its not just a "close the wiring circuit, deploy the bags" thing like everyone assumes. The wiring going from the SDM to the EFS is databus.
Both the SDM and the EFS communicate continuously, and both units have accelerometers/force sensors in them...when an impact is detected, the SDM checks with the EFS to corroborate the impact readings/forces, and only if the two units agree that a significant-enough crash has occured, does the SDM command a bag deployment.
No harm in trying the sensor, but I doubt it will accept it. No, its obviously not just going to spontaneously deploy the bags if the wrong sensor is plugged in.
But at key-on the SDM communicates with the module to ask for its serial number, calibration, and a couple other state-of-health diagnostic checks/questions.... if the sensor reports back that it is the wrong calibration for the VIN/vehicle info in the SDM, its going to fail the diagnostic and set a code.
Just buy the proper sensor for your truck/VIN. IIRC they're only $100 or so.