The name is first used for Arjuna in Drona's Gurkul
युधिष्ठिरो रथश्रेष्ठः सर्वत्र तु धनंजयः
प्रथितः सागरान्तायां रथयूथपयूथपःYudhisthira was foremost among chariot-warriors, while Dhananjaya (Arjuna) excelled in every respect. Renowned across the ocean-bounded earth, he was the commander of the leaders of chariot divisions.”
- 123, Sambhava parva, Mahabharata.
Vyasa here contrasts Yudhishtira with Arjuna saying that Yudhishtira became a great chariot warrior while/but (तु) Dhananjaya was the best among every respect (सर्वत्र), became world famous and became a leader of entire armies.
This is what Arjuna said about the meaning of the name
सर्वाञ्जनपदाञ्जित्वा वित्तमाच्छिद्य केवलम्
मध्ये धनस्य तिष्ठामि तेनाहुर्मां धनंजयम्“Having conquered all the kingdoms and seized their wealth, I stand alone amid the riches. That is why they call me Dhananjaya ( The Conqueror of Wealth).”
- 39, Go-Grahana parva, Mahabharata.
Even though the 4 brothers conquered the 4 directions for the Rajasuya, it is Arjuna's conquest that is primarily credited with allowing Yudhishtira’s Rajasuya
Having conquered all the kings and all the mighty host of peoples, Arjuna brought the great royal sacrifice, the Rajasuya, to completion for the king.
- 1, Anukramanika parva, Mahabharata.
The name is used several times in Mahabharata. For example in the message by Drupada's priest to the Kuru court
एकादशैताः पृतना एकतश्च समागताः
एकतश्च महाबाहुर्बहुरूपो धनंजयःEleven armies have assembled on one side, while on the other side stands the mighty-armed Dhananjaya (Arjuna), who has many forms.
- 20, Udyoga parva, Mahabharata.
Here Arjuna alone is compared to the 11 armies on the opposite side. ‘bahurupa’ imagery suggests that when Arjuna fights in the battle field he moves around so rapidly that his enemies will perceive hundreds of Arjuna's fighting there.
Hence Dhananjaya is a name used very commonly for Arjuna in the Mahabharata to indicate his power (vanquisher of kingdoms and collector of wealth).