It happened to me once. Depends on how the car is out of alignment.
It's not your engine if it only does it at a certain vehicle speed. That would mean it's your wheels. It would be your engine if it did it at a certain engine speed or at a certain acceleration rate.