As a rule and whenever possible, I use Scripture to interpret Scripture. That’s especially true with the Book of Revelation. Revelation is constantly referencing prior Scripture. Once an interpreter gets a hold of that fact, interpretation of Revelation becomes a matter of looking back to the scriptural allusions and references, and then connecting the dots into a coherent design.
Following Galatians 4:21-31, the Astronomical Wonder Woman in Revelation Chapter Twelve should be interpreted as the Covenant of Promise. In Galatians 4 the Apostle Paul is arguing for the primacy and superiority of the Covenant of Promise over against the Law of Moses. God’s covenant with Abraham comes before and is better than God’s covenant with the Nation of Israel. Both Christ and the Church are born from the Covenant of Promise. As Christians, we are not Children of the Law of Moses, but Children of the Covenant of Promise. Allegorically, She is our Mother. We are the seed of one covenant, not the other. We are children of promise. We are children of The Promise — the ancient promise to elderly Abraham and Sarah (see Genesis 15:5-6; Genesis 18:10-15). Therefore, Revelation Chapter Twelve draws directly upon Paul here.
Am I wrong to suggest that Revelation Twelve might be alluding the a Pauline illustration? No. In fact, it is quite likely that Revelation would draw upon a known New Testament allegory. Galatia was not far from the Roman Province of Asia. By the time Revelation was written and circulating, the Churches of Asia were familiar with all of Paul’s epistles. Moreover, I believe Revelation also alludes to the Book of Ephesians and the Book of Colossians.
So, that’s how I interpret the Woman of Revelation 12: She is the Covenant of Promise, which ultimately becomes the New Testament.