Filing old 'rejected' taxes - Federal and State

Hello - 

 

I have two old tax years (2018, 2019) that I had tried to file at the time they were due but both were rejected.  One, 2018?, was rejected due to my ex-wife claiming my son on her taxes (she lives out of state and has no right to do this (according to Federal Tax law).  So I have documentation that my son was with me 10 months of the year.  

 

Both tax returns are way over-due to be filed.  How do I go about that now without having to mail literally 100 pages per tax year.  My taxes are not overly complex and I have paid to file one of those two years.  

 

How do I go about filing these two tax years for Federal and State?

 

Thanks!