A suspect in an Allegany County shooting led federal agents and state troopers on a 4-mile chase through Baltimore before he was arrested early Thursday morning, Maryland State Police said.