You need to consult with a family law attorney to draft up a custody agreement where your cousin gives you custody of her child for a certain period of time and the authority to educate and take care of the minor. The document needs to be signed by you and the cousin before a notary.