A Detroit man will serve time in prison in the aftermath of a fentanyl investigation in West Virginia, federal authorities said.