Police arrest man accused in toddler shooting