No, if you were able to exclude the gain because of the exclusion then the sale of the home does not affect your Adjusted Gross Income (AGI). Therefore, as long as you meet all the requirements then you will get the 3rd stimulus check should it get passed.