Retirement tax questions

Check your AGI for that year and you will probably find 4286

was the maximum deductible contribution allowed.

Then you applied the remainder to the next year.

For the sake of your sanity, the custodian should have been in the loop for allocating the funds to the proper year.

Check your Form 5498s for those years.