Medicaid benefit and dependent claim

My son got medicaid benefits from 2024. He is currently undergraduate student and I paid his tuition in 2023.  I already got American opportunity tax credit for him long time ago.  So, the only tax benefit from support for my sons is dependent claim ($500 credit, Is ti right?).

I have more questions as follows.

1) Can I claim dependent claim for him in 2023? 

2) I will pay his tuition in 2024, too. Can I claim him for dependent tax credit even though he got medicaid benefits?