At any rate, the two letters in front of "Jr Anders Olsson" are NOT Jr. They are Dr = Dräng = farmhand. The = sign in front of Anders Persson are meant by the priest to be a ditto, so Anders Persson is also a farmhand.
I doubt they are related. They certainly do not have the same fathers. Anders Olsson is the son of a man named Olof or Ola something, and Anders Persson is the son of a man named Per something.