A former band teacher at Yuma's Castle Dome Middle School has been sentenced to 15 years in prison for having an ongoing sexual relationship with a 14-year-old male student.