The indirect object of a sentence will ALWAYS use an indirect pronoun whether or not there is also an indirect noun phrase. Ask “to whom?” or “for whom?”
Le tiró la pelota a Juan.
He threw the ball to Juan. Le tiró la pelota.He threw the ball to him.