In this paper we investigate a universe filled with a fermionic field and a complex scalar field, exchanging energy through a Yukawa potential; the model encodes a symmetry breaking mechanism (on the bosonic sector). In the first case, when the mechanism is not included, the cosmological model furnishes a pure accelerated regime. In the second case, when including the symmetry breaking mechanism, we verify that the fermion and one of the bosons, of Higgs type, become massive, while the other boson is massless. Besides, the mechanism shows to be responsible for a transition from an accelerated to a decelerated regime, which certifies the importance, in cosmological terms, of its role. After symmetry breaking, the total pressure of the fields change its sign from negative to positive corresponding to the accelerated–decelerated transition. For large times, the universe becomes a dust (pressureless) dominated universe.