Its quite believable I value the life of a dog as equal to any human, without any other evidence to make the decision its an equal choice. If I knew the dog and the person was a stranger then in this hypothetical situation I would kill the stranger. iF the dog was unknown and the person unknown then I would roll a dice or other such random choice - for me they both have equal rights to live, and a crime against an animal is equal to an equivalent crime against a human. I don't differentiate rights between animals, children, adults, elderly, 'civilian', military. I treat all with equal respect and only those I know will I differentiate.
Perhaps if I had knowledge of the person then this would change the outcome.
I don't attach any nonsensical rights or respect to entities I do not know.