The air bag light in my 2003 Trailblazer comes on randomly during the day and the seat belt light flashes as if I am not using the seat belt. Does anyone know if this is a sensor that is bad?

i have a 02 trailblazer and that happened to me. was the air bag sensor, yes.i think the dealer charged me around 220.00 to replace the sensor.