A. Shoot two. Player was in the act of shooting a live ball at the time of the foul.
The rule, IIRC, says that the try can't be counted. It doesn't say it can't be a try.
Just to add a little logic to my position aside from whatever the rule may say....
Consider that, for B5 to foul A1 in that time interval, the immenent contact must have been apparent before A1 caught the ball. Perhaps A1 was attempting to tap the ball but the expected crash from B5 made him reflexively grab the ball instead.
Now that I've gone to check my book...
Rule 5-2-5
When play is resumed with a throw-in or free throw and three-tenths (.3) of a second or less remains on the clock, no field goal may be scored if the ball is caught before the try for goal. In this situation a tap could score.
Note that this rule implicity defines the action we're talking about as a try. The definition of try says that it is merely an attempt to score.
The .3 second rule is meant to declare the ball dead before it leaves the players hands...ending the try...not that its not a try.