A Birmingham man was sentenced for drug trafficking and possessing a firearm while drug trafficking, U.S. Attorney Prim Escalona said Thursday.