Rephrase your sentence, please.
It is against the law to be sponsored by one and work for another. There are some exceptions or terms for this also.