Man sentenced to life for death of nephew