Nearly. There was an abbreviation for “th” that latter looked like “y” (not “ye”) and with the invention of the pressing press, the letter “y” was often used as a substitute for the “throne” character (the character that represented “th”). So “ye” means “the”.
It wasn't an abbreviation for th; it was a separate letter in its own right with its own etymology.