A dominant seventh chord has the property that it can resolve to either a
minor or major chord (notice that there is only a one note difference
between and dominant chord and either other quality) making it a candidate
for all kinds of chord subs. Remember the rule that if it sounds good to you
its okay.