The way they've done it for decades where I live, is party A and party B serve the same master on all substantial issues, so pick a "hot button" social issue that neither side will ever do anything about and have A and B take opposing views. Then do some gatekeeping where both parties and the media agree to push hard propaganda that voting 3rd party is "throwing your vote away".
The people in charge are the ones who pick the two almost identical candidates. There will be no change in economic or foreign policy regardless of winner.
(Edited, the other way is to push hard core identity politics where demographic groups are owned by certain parties, so voting has all the legitimacy of a mere census. The only way to influence policy would be having (or not having) children)