I am very sure that you do not need go outside of US to change back to H4 if you are using EAD for working because of I-140 pending and if I-140 is denied,and you were originally H4 status.
So, that is good for someone who wants to work because of I-140 pending but has EAD card.