If your i-140 rejected, you will be out of status but not your hu*****and if he maintain his H-1 status. You can't revert back to H-4 in United State, you have to leace the country to re-enter as H-4.