Yes, in general you need to consider all cocharacters.
$\mathrm{GL}_n$ has the special property that the dominant coweights are all sums of minuscule cocharacters, i.e. ones of the form $[1,\cdots,1,0,\cdots,0]$ or $[0, \ldots, 0, -1,\ldots, -1]$. (For a general group, a dominant cocharacter is minuscule if its pairing with any positive root is at most $1$).
In terms of representations, this says that all irreducible algebraic representations can be built inside tensor products of exterior powers of the standard representation and its dual. A manifestation of this fact is the linear algebra theorem that a semisimple element of $\mathrm{GL}_n(\overline{\mathbf Q_\ell})$ is determined up to conjugation by the coefficients of its characteristic polynomial. It's true more generally for a reductive group $G$ over an algebraically closed field $k$ that a conjugacy class of semisimple elements $g \in G(k)$ is determined by the trace of $g$ acting on each irreducible representation. So if I want to construct a Galois representation into $G(\overline{\mathbf Q_\ell})$ (up to semisimplification), I need to know the traces on all irreps.
On the automorphic side, the image of the minuscule representations (representations with minuscule highest weight) under the Satake isomorphism $\mathrm {Rep}(\mathrm{GL}_n) \rightarrow \mathscr{H}$ generates the spherical Hecke algebra $\mathscr{H}$, so all Hecke eigenvalues of an eigenform are determined by these special elements.
Putting this together, to verify the (automorphic to Galois direction of the) Langlands conjecture for $\mathrm{GL}_n$, given a Hecke eigenform $f$, it suffices to construct a Galois representation such that the coefficients of the characteristic polynomial of Frobenius elements at each point are the eigenvalues of $f$ for the elements corresponding to minuscule characters.
For general groups $G$, the minuscule characters do not generate the dominant weights. Thus, in order to make the Langlands correspondence unique up to semisimplification, we must match the eigenvalues of $f$ under the Hecke operators corresponding to any representation $V$ of $\widehat{G}$ with traces of Frobenius elements acting on $V$ through $\widehat{G}$.
Loosely speaking, V. Lafforgue's approach to this is to construct a Galois representation for each $V$ by studying the cohomology of shtukas with legs bounded by the corresponding cocharacter of $G$. (There's the further complication that there are no shtukas with one leg and thus we have to consider tuples of representations/cocharacters and verify a ton of tricky compatibilities coming from adding or subtracting legs - this is one of the principal difficulties of his paper).-
On shtukas for $\mathrm{GL}_n$ for more general cocharacters:
We like minuscule cocharacters because the corresponding modifications of vector bundles are parametrized by the usual Grassmannian, which is a smooth projective variety. This means we don't need any perverse sheaves or intersection cohomology!
The fact that any dominant cocharacter of $\mathrm{GL}_n$ is a sum of minuscule ones lets us (locally) write an arbitrary modification of vector bundles as a sequence of modifications by minuscule cocharacters. If $\mu = \sum n_i \mu_i$ with $\mu_i$ minuscule, there is a resolution of the Schubert cell for $\mu$ in the affine Grassmannian by the "iterated affine Grassmannian" which parametrizes sequences of $\mu_i$ modifications. This space can be constructed as an iterated bundle of usual Grassmannians: in particular, it is smooth.
We can pull this back to an analogous resolution of the stack of shtukas with a leg bounded by $\mu$. One can prove that this map doesn't change the IC cohomology, so we don't get new Galois representations (I think this is right but I'm not 100% sure).
Aside: mixed characteristic
The fact that minuscule cocharacters generate everything for $\mathrm{GL}_n$ is essential to the proof of the local Langlands correspondence in that case! For similar reasons to above, this means that we can construct the required Galois representations by studying the cohomology of Lubin-Tate space.
$p$-divisible groups are "local shtukas with minuscule cocharacter" or "$p$-adic Hodge structures of weight $1$". The minuscule property is exactly what lets us parametrize these by an honest rigid-analytic space/formal scheme.
Recently, Scholze and Fargues have proposed an interpretation of more general shtukas in mixed characteristic, in the hopes that they could carry over Lafforgue's ideas to the $p$-adic setting. This uses Scholze's theory of diamonds, and involves a lot of very exotic geometry. (Meanwhile, local Langlands has been proved for many $p$-adic groups using different methods. The Scholze-Fargues program gives a very nice conceptual framework for the problem, but there are many fundamental foundational problems to be solved before it has any hope of working).
Also, I should mention that in the number field setting, Shimura varieties are some vague analogue of moduli of shtukas with minuscule legs - a minuscule cocharacter is part of the data defining the Shimura variety. This is a fundamental obstruction to "cohomologically" constructing a Langlands correspondence for general groups over number fields (never mind the fact that there's no hope of handling e.g. Maass forms with these sorts of algebro-geometric methods).