A Hays County judge sentenced a man to 8 years in state prison in connection with a 2022 fatal crash.