Man arrested after firing shots into the air in front of police