You understand that's by design, right? In most states (likely all, but I can't be bothered to check if there's an exception), a candidate has to register as a "write-in candidate" or votes writing in their names won't be counted at all. Ostensibly, this was done when people were actually writing on paper, and it might be impossible to count 100,000 unique write-in names if 100,000 voters voted for unique names.
Now, in the digital/electronic voting machines where there would never need to be separate first class candidates and second class "write-in" candidates, the system is preserved for whatever reason.
Two of the four parties on the ballot are “outside the D/R establishment” (the four parties being the Democrats, Republicans, Libertarians, and Greens.)
Additionally, its possible for other parties to qualify for ballot access, neither the number nor the identity of the qualified parties is fixed.