Lots of Yamahas use the same switches.
Most of the left side switches are the same as XT's and most of the small displacement street bikes in that time frame. The right side controls are restricted to those models with drum brakes. The ones intended for disc brakes have the starter button oriention in a different location due to the master cylinder, and the ones for some of the very early bikes like kick-only XT600's don't have a starter button feature, but are otherwise identical. Post-'2000 TW switch gear will have the wrong orientaion for your bike.
Larger Yamaha street bikes tended to use different controls with built-in choke levers, 4-way flashers, etc.
However, I've rarely found a set of these switches which couldn't be saved with a good cleaning of the contacts and some dielectric grease on the sliders and detents. Worth a shot if yours are junk.
The first time you take them apart I recomend you unplug them, remove them completely from the bike and dissassemble them inside a cardboard box. The switches are embarassingly simple once you get them apart, but there's a risk of losing the detent balls, a tiny little spring and the screws holding them together are quite small. Once you see how they're assembled they're rock simple, it's just that nothing in there is gunna be a Home Depot item if you lose it.