A Wareham woman will serve time in federal prison for selling fentanyl to a 42-year-old man who died of an overdose, the U.S. Attorney said this week.