A 25-year-old man who was found with a weapon while leaving the shooting scene was arrested