Yes, you can deposit the check in your account if the payee on the company check is in your cousin's name and he subsequently endorses the check over to you. For example, he would write on the back of the check "Pay to the order of [your name]" and sign his name. when depositing the check, you would write your name under the endorsement.