A judge told the 21-year-old driver he was "lucky to be alive"