Though the intent of F1 and H4 is not at conflict,
some picky officer may question your intent of using H4 to enter the country and shortly filing a F1 conversion application. Leave some time to avoid that.
If every other thing is fine, I think that you may try F1 visa in third country before your trip or in China during the trip.