After you file

@Mike9241 

 

after tax due date including extensions: you distribute the excess amount being carried forward on 5329,
(or offset it with currently allowed contribution) .

Earnings stay in the Roth account.