Maxperson
Morkus from Orkus
In AD&D there are aspects of Aragorn's capabilities - for instance, his ability to heal wounds and diseases - which a paladin does better than a ranger. (Not coincidentally, either - Aragorn's abilities reflect, in part, stories of holy kings, and so do a paladin's abilities.) In UA a paladin gains the ability to make his/her alliies resistant to fear, which is also an ability that Aragorn enjoys (eg otherwise Gimli probably could not have passed the Paths of the Dead).
Aragorn doesn't heal wounds and diseases with a touch, but rather with knowledge of herbs and medicine, so Paladin doesn't model him well at all. As for Gimli, a person can be talked down through logic and/or a simple charisma check. No need for special abilities to account for Gimli's change of heart.
Dunedain are also superb trackers, have gifts that allow them to communicate and influence animals(wild empathy), were skilled at hiding(camouflage), knew the tricks of their enemies(favored enemy), and had great endurance(endurance). Woodland stride is also something that fits Aragorn well. Was the 3e Ranger perfect? No, but then it really wasn't a class that was purely about Aragorn, but rather a class that was inspired by him.In 4e a ranger is not a particularly good model for Aragorn at all - Aragorn is neither a particularly notable archer nor a two-weapon skirmisher, and he does not travel with an animal companion. For the same reasons I don't think 3.5, or really even 3E, rangers model Aragorn particularly well.
The only non-4e D&D edition I can think of where a high CHA supernaturally inspires one's allies is 5e (with a paladin's saving throw aura). In AD&D CHA only affects NPCs. In 3E there may be prestige classes or non-PHB classes I'm not familiar with where high CHA inspires allies, but I don't think there is such a thing for PHB classes.
Aragorn didn't supernaturally inspire anyone. He just inspired with a supernaturally high charisma, as modeled by simple charisma checks, diplomacy checks, loyalty and reaction bonuses, etc.
He didn't rouse spirits with a word. He did raise morale on rare occasions with speeches and a high charisma, though. He also didn't so much warlordy stuff in combat at all. He did no micromanagement of his allies in the books.In any event, the 4e warlord is a very good start for Aragorn. Aragorn can rouse his allies' spirits with a word (which is what a warlord's Inspiring Word does), and he can lead and inspire them in combat (which is what a warlord's "micromanagement" of movement and attacks does). A STR paladin is an alternative approach to Aragorn within that system, although outisde of heroic tier is going to be rather supernatural compared to Aragorn as written by JRRT.