Small Parts Inc.
McMaster-Carr
Boston Gear

I do not have the URLs handy, but all three carry what you are looking for. If it is linear motion you need, look up gear racks and pinion drives.

You will need to determine the width and pitch of the teeth on the existing rack. Each site should have a diagram showing how to measure your rack.