If I owe the IRS from last year, will turbo tax be aware? Is it possible that I will not get the refund TurboTax says I will? And will TT use state refund for payment?

I did not file last years return correctly and owe the IRS about 5k. This year's refund is approx. 1K. I already know that the IRS will most likely not send me anything and just apply to this years refund to what I owe. If that is what happens, will TT take their payment from my state refund?