A driver was taken into custody after allegedly hitting and killing a 3-year-old boy in South Los Angeles on Sunday, officials said.