No, that wouldn’t be legal. Would be legal to shoot anyone who caused you to fear for your life or that of someone else there.
That applies to shooting at someone. Para-Ord.45 was asking about shooting into the sky, and with a shotgun (presumably loaded with shot, not a slug.) This is still a violation because at least in CA it is illegal to discharge a firearm in an incorporated area, and I presume the banker doesn't live on a ranch. However I think he wouldn't be charged for that because he had a valid reason to shoot, and he called the police already.