Is it possible to transfer an application bought under one Apple ID to another Apple ID?
No. All applications downloaded by one Apple ID (free or not) and non-transferrable. iTunes support will tell you the same. There is nothing that can be done outside of retrieving/ resetting your password to the original Apple ID associated with the purchase. Then you can download the application again. Contact iTunes support to reset your Apple ID password.