A Slidell man was sentenced to 50 years in prison for his role in the drug overdose death of his 2-year-old niece.