Change of status can be challenging. Previously US law permitted persons entering on tourist B-2 visas to change status to F-1 visas. That is no longer the case. You should apply from your country of origin or residence, and reenter US in F-1 status.
We suggest your child get into a private school first, and consider if you would like to transfer to a public school once you have the green card.