Can I back out a tenure track faculty offer?
There's no way to do this gracefully. You call school A and tell them that you will not be joining them after all. Afterwards you deal with the fallout.
Before doing so you may want to estimate exactly how bad the fallout will be and whether it might affect your ability to do your job at school B.