Welcome to RootsChat
The Old English letter 'thorn' was used as shorthand for 'th' in 'the', 'that', etc. In the seventeenth century, the letter was written in a form barely if at all distinguishable from 'y'.
In documents Ye is the, yt is that, and ys is this.
Stan