Yes, if your son meets all the requirements to be your qualifying child (see below) then you can claim him as a dependent even if he makes over $5000. Your son is considered to have lived with you during periods of time when he was away in college.
Please see this FAQ for the requirements to be considered a qualifying child:
https://ttlc.intuit.com/replies/5187060