Deductions & credits

Based on circumstances you described, you alone would claim son for 2019. IRS only considers which parent he spent the most nights with during the tax year. He would be a full-time student for 2019 (must be in FT status for at least some part of five months).