A Marion man was sentenced to 20 years to life in prison Friday for his role in the 2023 shooting death of a Cedar Rapids teenager.