Get your taxes done using TurboTax

If I use my 2022 earnings to contribute to my existing Roth IRA, do I need to pay tax on my earnings?

 

Could I contribute my 2022 earnings ($4K)  to my existing TSP instead?  Is this TSP contribution tax deductible?