Trying to determine if my client can deduct a contribution to an IRA this year. He is self-employed and has a profit sharing plan but is closing it down this year. He has about $20k in earnings for 2019 and his spouse does not work. However he sold his residence this year and has about a $250k capital gain. Will the amount of the capital gain put him over the threshold for being able to deduct the contribution?