End of Lease - Buying Out

I have a 2020 Jeep Grand Cherokee that is at the end of the lease in December. (Lease start was 6/2020.)

Residual Value is $21,900

Cash offer from Carmax (Thanks CarEdge) is $29,000

It was a 3 ½ year lease and I’m way under on the mileage (Current=25k).

A lot of equity on the table. Just need some clarification on what fees I would be responsible for and how I can go about selling it.

In the contract there is a $350 fee that looks like I have to pay at the end of the lease regardless. Will I be responsible for anything else if I’m waiting until the end of the lease and the payments are done?

Can I give the dealer the option of making a cash offer and let them take care of the paperwork or will they want to only pay the residual price?

Is it easier to buy out either with cash or a short term loan, get the title and then sell to a Carmax or a Carvana?

Lastly, what if I want to roll it into the purchase of a new vehicle with a different manufacturer. Will the new dealer be able to help with payoff/title or will they treat it like a cash offer and need me to pay it off, get the title, etc?

Thank you!