Man sentenced to 35 years in home invasion