A man convicted of assaulting a passenger on the Manhattan subway on New Year's Day has been sentenced to 10 years in prison.