Is when a pronoun?

No, the word 'when' is an adverb or a conjunction.

EXAMPLES

adverb: When will Hugo arrive? (Hugo will arrive when?)

conjunction: Hugo will arrive when he leaves his job.