In Gaussian16, you'll need to divide the calculation into fragments, specifying the charge and spin multiplicity for each fragment as well as for the entire molecule. This approach allows you to solve a broken-symmetry structure with fewer difficulties.
You can check the syntax for fragment-based guesses on Gaussian's official website: https://gaussian.com/guess/.
In the "Antiferromagnetic Coupling" section, you'll find an example of a fragment-based guess, which clearly illustrates how to implement it.