The shooter is secreted inside the back of the truck being driven by an accomplice. When the truck is stopped at a red light, the shooter takes aim and shoots at random.
Before anyone knows anything is wrong, the light changes and the truck casually pulls ahead with the flow of traffic.