Following @user64687's hint in the comments,
thus according to Keith Conrad's notes,
a degree-$4$ polynomial from $K[X]$, where $K$ is a field with $\operatorname{char}K\not\in\{2,3\}$,
has Galois group $S_4$ if
- it is irreducible over $K$
(thus its Galois group has order divisible by $4$), and
- its resolvent cubic
is irreducible over $K$
(thus the Galois group has order divisible by $3$), and
- its discriminant
is not a square in $K$ (thus the Galois group is not a subgroup of $A_4$).
In example 3.2, Keith Conrad shows that the Galois group of
$f(X) = X^4 - X - 1$ over $\mathbb{Q}$ is $S_4$.
Let me demonstrate the very similar case
$$f(X) = X^4 + X + 1$$
instead.
Since $f(X) - (X^{2^2}-X) = 1$ in $\mathbb{F}_2[X]$,
$f(X)$ is coprime to every irreducible polynomial over $\mathbb{F}_2$
of degree dividing $2$, this implies that $f(X)$ is irreducible $\bmod{2}$,
thus $f(X)$ is irreducible over $\mathbb{Q}$.
Therefore its Galois group has order divisible by $4$.
$f(X)$ has the resolvent cubic
$$g(X) = X^3 - 4 X - 1$$
which, by its low degree and the rational root theorem,
would need to have an integer root dividing $1$ if it were reducible
over $\mathbb{Q}$, but it hasn't, so $g(X)$ is irreducible over $\mathbb{Q}$.
The extension degree of the splitting field of $g(X)$ over $\mathbb{Q}$
is therefore divisible by $3$.
By construction of the resolvent cubic,
the splitting field of $g(X)$ is contained in the splitting field of $f(X)$,
so the order of the Galois group of $f(X)$ must be divisible by $3$.
Again by construction, the discriminant of $f(X)$
equals the discriminant of $g(X)$, which is
$$\Delta=229$$
and is thus easily recognizable as a nonsquare in $\mathbb{Q}$.
In particular, it's congruent to the nonsquare $5\pmod{8}$.
Summarizing the above results, the Galois group of $f(X)$ has order
divisible by $3$ and $4$, yet is not a subgroup of $A_4$.
This leaves $S_4$ as only possible Galois group for $f(X)$.
If you are looking for a quartic polynomial with only real roots,
see here;
the argumentation there is almost the same.