Yayati got a boon from Sukra that he can swap his old age with anyone
"Vaisampayana continued, 'Yayati, the son of Nahusha, thus cursed by the angry Usanas, was then divested of his youth and immediately overcome by decrepitude. And Yayati said, 'O son of Bhrigu, I have not yet been satiated with youth or with Devayani. Therefore, O Brahmana, be graceful unto me so that decrepitude might not touch me.' Sukra then answered, 'I never speak an untruth. Even now, O king, art thou attacked by decrepitude. But if thou likest, thou art competent to transfer this thy decrepitude to another.' Yayati said, 'O Brahmana, let it be commanded by thee that that son of mine who giveth me his youth shall enjoy my kingdom, and shall achieve both virtue and fame.' Sukra replied, 'O son of Nahusha, thinking of me thou mayst transfer this thy decrepitude to whomsoever thou likest. That son who shall give thee his youth shall become thy successor to the throne. He shall also have long life, wide fame, and numerous progeny!'"
Yayati uses the boon and transfers his old age to his son Puru and becomes young by recieving his sons age
"Yayati at last turned to his youngest child, Puru, and addressing him said, 'Thou art, O Puru, my youngest son! But thou shall be the first of all! Decrepitude, wrinkles, and whiteness of hair have come over me in consequence of the curse of Kavya called also Usanas. I have not yet however, been satiated with my youth. O Puru, take thou this my weakness and decrepitude! With thy youth I shall enjoy for some years the pleasures of life. And when a thousand years have passed away, I shall give back to thee thy youth and take back my own decrepitude.'
"Vaisampayana said, 'Thus addressed by the king, Puru answered with humility, 'I shall do, O monarch, as thou bidest me. I shall take, O king, thy weakness and decrepitude. Take thou my youth and enjoy as thou listest the pleasures of life. Covered with thy decrepitude and becoming old, I shall, as thou commandest, continue to live, giving thee my youth.' Yayati then said, 'O Puru, I have been gratified with thee. And being gratified, I tell thee that the people in thy kingdom shall have all their desires fulfilled.'
"And having said this, the great ascetic Yayati, then thinking of Kavya, transferred his decrepitude unto the body of the high-souled Puru.'"
Are there any other historical stories in Hindu scriptures that involves the concept of age swapping between humans?