Yes, you can travel outside the United States while your H-4 EAD application is pending. However, you will need to have a valid passport and an advance parole document to re-enter the United States.