Mark, did you see the clock start while the ball was in flight? You should have whistled it dead at that instant (retro to throw). Rethrow.
But, if you allowed time to run out, then you don't have definite knowledge anymore of the amount of time that passed (it apparently went past 0:00); and the horn did not sound.
So, give the ball to A with 0:00 (the only time you are sure of) on the clock, make them toss it in, and unless B taps the toss in for a three, then the game is over.
Well, it seemed logical as I was writing it