The cabdriver, 31, was inside the car when a man opened his door, hit him in the face and forced him out of the vehicle, police said.