A man suspected of being the gunman in an apparent gang-related shooting that left a 3-year-old dead in Compton has turned himself in.