A former Border Patrol agent has been sentenced to 27 years for abducting and assaulting a teenage girl in southern Arizona.