Jason Barber, of Hartford, pleaded guilty to unlawful possession of a firearm by a felon Tuesday, federal officials said.