Man arrested after firing shots at several people