No. That would be unauthorized employment.
J Charles Ferrari Eng & Nishimura 213.622.2255 The statement above is general in nature and does not constitute legal advice, as not all the facts are known. You should retain an attorney to review all the facts specific to your case in order to receive advise specific to your case. The statement above does not create an attorney/client relationship. Answers on Avvo can only be general ones, as specific answers would require knowledge of all the facts. As such, they may or may not apply to the question.
I agree that this would be unauthorized employment. In addition, shareholders of an S corporation must be either US citizens or permanent residents. With your current status, you may not become a shareholder of an S corporation.
Passive investment should be OK. Active involvement like holding a position of an officer and performing tasks is unauthorized employment.
This response is general in nature and cannot be construed as legal advice, given that not enough facts are known. Any comments offered on Avvo are of a general nature only, and are not meant to create an attorney-client relationship. If you would like additional information based on this response, please contact my office at 510 657 7665 or 415 902 0832 to schedule a consultation.