Sorry to hear your story.
Based on what you mentioned, USCIS more likely denied her I-485 because she was beyond 180 day out of status. It will be difficult to get H4 visa abroad because 3 year limitation.
talk to your lawyer for your choice. Bless!