A Thousand Oaks man was sentenced to five years in state prison for trafficking a 14-year-old boy and forcing him to sell clothing.