2024 Traditional IRA Contribution After Withdrawing Excess 2024 Roth IRA Contribution

On February 14, 2024, I made a $8000 contribution to my Roth IRA. However, because I had no earned income in 2024, I was not eligible to make a Roth IRA contribution. On January 17, 2025, I "undid" the $8000 contribution and directed the funds back to my regular taxable brokerage account. This resulted in the original $8000 contribution and $1418.15 in earnings being transferred from my Roth IRA to my brokerage account.

 

Given the above, am I eligible to make a $8000 contribution to my Traditional IRA account as my wife did have earned income in 2024?