Both words are used to indicate something that is at a distance, but "yon" is considered more archaic and less common.