The form is the W-7. It is available online at the IRS web site. There is no filing fee for that application. You should receive the ITIN within a few weeks.
Michael H. Sharon has been practicing immigration law for more than 25 years. His response to your question is not legal advice but only legal information and is general in nature since not all the facts of the case are known to him. We recommend that you contact an experienced immigration attorney to review all of the facts in your case in order that he/she can provide you with advice specific to your case. The statement above does not create an attorney/client relationship. If you wish to contact Mr. Sharon, please send him an e-mail at email@example.com.