A Dominican man was sentenced in federal court for trafficking drugs at a public housing development in Portsmouth.