A judge sentenced a teenager convicted of a deadly shooting near the University of Nevada to life in prison.