impending deadline for tenure-track offer, with other applications in progress
There are numerous other questions on this forum that ask the same question. In the end, it comes down to your risk tolerance. You can also accept A's offer, and if you should get one from B, talk to them to see whether you can defer the start of your work by a year and quit your job at A after the first year.