There is a very simple way to tell the difference between a “God of the Gaps” argument and other arguments (i.e. the cosmological argument). It is dependent on the form of the syllogism it can be reduced to.
So, a God of the Gaps argument looks like this;
1) We don’t know this
2) Therefore God
If the argument for God is rooted in some form of ignorance we have, then it is a God of the Gaps argument.
It won’t be a God of the Gaps argument when we argue from knowledge.
1) We do know this
2) Therefore God
If the argument posits something we do know (such as my cosmological argument) to know that God exists, then the argument isn’t a “God of the Gaps” argument.