The part numbers for the stock chain guide parts are not used on any other Yamaha motorcycle sold in the USA as far as I know, other than probably the WR-250X.
So, that usually means the chances are unlikely one made for another Yamaha model will fit.
I can't say that with 100% certainty, though, and if I had to guess, your best chances are probably one from the oldest Yamaha YZs that TM will make one for.
I recently considered replacing the stock chain guide on my 2009 WR-250F with one of the TM Designworks ones, but I decided against it when I realized how much physically larger it was.
I believe that's required since the TM one is basically a few chunks of (relatively) soft chain guide material screwed together, and it needs the added bulk to be strong enough.
Kinda' ironic because for years, back through the 1980s, a stock Yamaha chain guide was simply a solid, one-piece block of chain guide material bolted to the swingarm.