Denote $$p(x) := x^4 + A x^2 + B.$$
First, here's another way to see that $\operatorname{Gal}(p)$ that requires little computation: Using that $p$ is even and that $A > 0 > B$, we conclude that $p$ has two real roots and two conjugate, nonreal roots. In particular, complex conjugation is a field automorphism in $\operatorname{Gal}(p)$ that fixes the real roots and interchanges the complex ones, hence it corresponds to a transposition in $S_4$.
Henceforth we can forget about the signs of $A, B$ and hence treat a general irreducible biquadratic. The roots are $\pm \alpha, \pm \beta$ for some $\alpha, \beta \in \Bbb R \cup i \Bbb R$. Then, Vieta's Formulas show that the particular algebraic combination $(\alpha)(-\alpha) + (\beta)(-\beta) = -(\alpha^2 + \beta^2)$ coincides with $A$, which in particular is in $\Bbb Q$. Thus, any permutation of roots in $\operatorname{Gal}(p)$ fixes that particular algebraic combination but not all permutations in $S_4$ do, leaving as the only possibility $$\color{#df0000}{\boxed{\operatorname{Gal}(p) \cong D_4}} .$$
Remark This argument does not depend on the signs of $A, B$, so by checking which transitive subgroups of $S_4$ preserves such an algebraic combination we conclude that any irreducible biquadratic polynomial over $\Bbb Q$ has Galois group $D_4$, $K_4$, or $\Bbb Z_4$. (A little more work shows that the Galois group is isomorphic to $K_4$ iff $B$ is a square in $\Bbb Q$.)
More generally, if we denote the roots of a quartic polynomial $$y^4 + a_3 y^3 + a_2 y^2 + a_1 y + a_0$$ by $r_1, r_2, r_3, r_4$, we can form the resolvent cubic
$$R(y) = [y - (r_1 r_2 + r_3 r_4)] [y - (r_1 r_3 + r_2 r_4)] [y - (r_1 r_4 + r_2 r_3)],$$
and appealing again to Vieta's formulas gives
$$R(y) = y^3 - a_2 y^2 + (a_3 a_1 - 4 a_0) y + (-a_3^2 a_0 - a_1^2 + 4 a_2 a_0).$$
Then $R(y)$ is reducible iff it has a root in $\Bbb Q$, which in turn happens iff one of the combinations $r_a r_b + r_c r_d$ is rational, and again this occurs iff the Galois group $\operatorname{Gal}(p)$ is contained inside a copy of $D_4$.
This implies that, for an irreducible quartic, checking (1) whether the discriminant is square and (2) whether the resolvent cubic is reducible is enough to distinguish when the Galois group is isomorphic to $S_4, A_4, V_4$. More subtle conditions are sometimes required to distinguish between $D_4$ and $\Bbb Z_4$.