how about not shooting a gun up in the air.
I agree from the gun safety part of your statement.........
But......
Not to sound like an ass, but from someone who has been hit by a car, I'd rather take my chances with a random bullet fired in the air than an idiot or drunk behind the wheel of a car..... and yes, as far as idiots and their actions go, the two are comparable acts.
You can't regulate idiocy because it puts unnecessary controls on 'normal' folks.....you can only deal with it.