Actually, there’s no age limit in the USA. You just have to support them and they must live with you. They will be considered an “other dependent”.
Tax class was not my favorite class. In fact, it kind of sucked - but this is one of the few things I remember.
I think, however, that OP has the child tax credit confused with claiming a dependent.