Man sentenced to 35 years in New Jersey state prison