A man was sentenced to more than five years in federal prison after he fired a pistol near the Stadium-Armory Metro Station in D.C.