1997 polaris scrambler 500 transmission question

Hello i just bought a 1997 Polaris scrambler 500 4×4, and when i tryed to go in forward it kept grinding, but doesnt grind in reverse, i tryed adjusting the linkage and it just kept grinding, maybe i didnt adjust right cuz i kinda dont know how to adjust….. I want to replace the parts in the transmission, i found on ebay transmission parts but its for 2002 Polaris Scrambler 400 4×4, i was wondering if i could put the transmission parts from 2002 Polaris Scrambler 400 4×4 to my 1997 polaris scrambler 500 4×4??