The sentence that contains an incorrect pronoun shift is:
"I thought I saw a dog bury their bone under the tree."
In this case, "a dog" is a singular noun, and using "their" as a pronoun for it creates a pronoun shift. A more correct form would be "his or her" to maintain singular pronoun usage, although using "they" as a singular pronoun can be acceptable in some contexts.