There are plenty of options out there for electronic tachs, so do a search. One of the more common and reliable units is a combo unit called DanMoto 180. It takes care of the speed and other functions as well.
Re the replacement of the tach cam gear, I've not seen anything on that, that i can recall. Some others may come by with ideas.