It's great that he is still up for working! At risk of getting flamed... It's tricky I think because even if he can learn to program to a suitable standard, I think the reality will be that people will see him as a "junior" but you will have a different working dynamic since it is easier for an e.g. 30 year old to coach someone who is younger if they are doing it wrong but could be tricky trying to coach an older per…
If he can sell himself not as a programmer, but as someone who does X with programming as a tool that they're going to use to do that, preferably where X is something that he has some expertise in from earlier in his career, he might be able to get people to look at him as an expert X instead of a novice programmer.
[1] https://www.kalzumeus.com/2011/10/28/dont-call-yourself-a-pr...