Cos from h4 to f1

H4 visa valid. I 94 valid
husband lost job two months ago .
can I still apply for f1 or it might be rejected.
Can I leave the country and reenter or I should not leave the country ?please reply , urgent