Custody of a Friend’s Son

I have full legal and physical custody of my friend’s son. He has lived with me for over two years. What do I select when claiming him on my taxes? He meets all the requirements for Qualifying Child except the biological/descendant/marriage relationship. Of course I consider him my child but for tax purposes what do I choose? Does custody make him my child in the eyes of the IRS?