Ask your ex to pay you instead of paying the school directly. This way, you can claim $5,000. Your hu*****and cannot get the tax credit anyways because he has no custody.