Entering IRA Rollover Amount

I had a poorly performing IRA Account and did 2 things with it in 2019.

 

First, I moved $200,000 of it to a different investment vehicle (qualified) in a company-to-company transfer. I closed out the account a few weeks later and put 17,000 of the final 22,000 into  IRA money market fund.

 

I don't know how to enter the 17,000 deposit into Turbo Tax. I tried entering it as though it was a new IRA, but it told me (since I am retired) that it exceeded my earned income and chagres me tax and penalties.

 

Help, please