An armed suspect was arrested for allegedly shooting at a Rockdale County deputy before barricading himself in a house late Tuesday night, the sheriff’s office said.