Taunton's Jermaine Rodrigues was sentenced in federal court to two years in prison for illegally possessing a firearm.