A man has been sentenced to 10 to 20 years in prison in the shooting death of a fellow churchgoer during Sunday services in a Montgomery County church.