A North Carolina father has been charged after fatally shooting a driver who hit and killed his teenage son along a road Monday, a sheriff said.

The 17-year-old boy died as the family of three walked home after running out of gas around 6:30 a.m., Person County Sheriff Jason Wilborn told news outlets.

The driver of the truck stopped and called 911 shortly after the crash, which happened near Timberlake.

The teen’s father, Chad Woods, then pulled out a gun and shot the driver, who was identified as Jeffery McKay, the sheriff’s office said.

After the shooting, Woods took the driver’s vehicle and drove home, officials said. News outlets report McKay was driving a North Carolina Department of Adult Corrections vehicle.