A federal immigration officer shot a Dominican man in the neck as he drove in a car with a 5-year-old boy Thursday afternoon, officials said.