She wanted to go fishing with him.him is a pronoun. with is a prepositionwith links the pronoun him to the words She wanted to go fishing.