Dependent Reporting - Remarry Filing Status?

I have a child that turned 18 in September 2022.  I am divorced from his father and our legal decree states that I can count him as my dependent every other year - which means for 2022 he would be considered as my dependent.  He is a full time student in High school. He worked a part time job during the 2022 year.  He had his own income.  Will he file his own income tax on that income or do I have to include it as income?  If he files his own income taxes does that mean that I cannot claim him as my dependent for the 2022 tax year?  Are there dollar limits as to what he earned that would come into play as well? Finally, if I re-marry before the end of the year should I file taxes with the new spouse jointly and if doing so can I still claim my son as a dependent.  My legal custody agreement does not specify that he no longer is considered as my dependent if I remarry.  I appreciate your assistance.