On the drivers side airbag, everything is a whole system. If any sensor in the system doesnt work, the entire system will not function. Now, is it mandatory your have functioning air bags, no in most states. They are just an option and are not required to be functional. This could vary from state to state so check up on that.
There is an installation procedure for the brake switch, not complicated. They are adjustable for each car because of production tolerances. You can reset them, I do it all the time. But, it isn't exactly easy if you don't have mechanical skills.
The proceedure:
1. Unplug and Remove old sensor.
2. Depress brake pedal as far as you can.
3. Install new sensor.
4. Release brake pedal. During the release, it sets the brake switch for your car by pushing the plunger against a stop. This is a very sensitive setting. Do not pull up on the brake pedal or you will disturb the setting.
The plunger has ribs on it that grip against a tube internally. Once set, a small clamp holds the plunger in place. You can reset a used switch by disassembling it. You have to release the small clamp then pull the plunger back out so it can reset again. This can be a challenge on some models.
I would also try to find a wiring diagram for the switch and verify you are getting power and ground to the switch. This also controls cruise control.