Man arrested for shooting pistol off into the air