A former Tufts Medical Center anesthesiologist was sentenced Tuesday for attempted sex trafficking of a child.