A man accused in a drive-by shooting at a restaurant that left a 10-year-old boy without a mother is expected to go to trial.