You understand shooting at a robber/burglary suspect?
Those words desperately need a few qualifiers.
Or is there just 1 type of robbery in america?
You can shoot someone robbing you either by force or use of weapon. Self defense laws allow you to use force, up to lethal to protect yourself from a violent crime, robbery is one. Home invasion is also a violent crime and the law allows a homeowner to shoot a burglar.
If they are fleeing? Only police are legally allowed to shoot a fleeing criminal, if it meets the fleeing felon rule.
If a lawful gun owner can prove that they faced danger during the commission of a violent crime such as Armed robbery or Home invasion they can use lethal force. There are everyday examples of robbers or burglars getting shot and sometimes even killed during the commission of their crimes by everyday citizens.