As soon as you are legally married and have the marriage certificate in hand, you can apply for the change of status to F-2. It may take a few weeks in some states to get the marriage certificate after the marriage.