The mother of a 3-year-old boy who died of a fentanyl overdose in 2020 was sentenced Wednesday to four years probation.