A former anesthesiologist at Tufts Medical Center was sentenced Tuesday to ten years in prison for attempted sex trafficking of a child.