Herding breeds do tend to chase/herd cards. So it can be a nasty habit to get rid of. I would suggest practicing basic obedience at a safe distance , on a leash, when there's car nearby. It will teach her to focus on you even when there's distraction. By basic obedience I mean asking for sits, stay, short range recall, down command.
When she starts being good at obeying with this distraction, get closer and closer until she can focus 100% on you even with cars passing by. Second step would be to train a bomb proof recall. Practice with longer leash until you don't need one anymore.
When she starts being good at obeying with this distraction, get closer and closer until she can focus 100% on you even with cars passing by. Second step would be to train a bomb proof recall. Practice with longer leash until you don't need one anymore.