Can I apply a traditional IRA withdrawal to the previous tax year if I withdraw it before April 15th? This will be a penalized withdrawal.

I have traditional IRA money in a CD that will mature in March 2024 but I have an electric car credit this year(2023). I’d like to wait until the CD matures before withdrawing but pay the taxes with the credit from 2023.