Does it look like a plastic gear or metal? I assume at minimum it would be glass fibre nylon, so a 3D printed plastic one wouldn't last long.
There are sites like this that have generic ones, you might be able to find a fit:
https://khkgears.net/new/how_to_select_gears.html