This study investigates the possibility of a homogeneous and isotropic cosmological solution within the context of the Maxwell-Weyl gauge theory of gravity. To achieve this, we utilize the Einstein-Yang-Mills theory as an analogy and represent the Maxwell gauge field in terms of two time-dependent scalar fields. We derive the modified Friedmann equations, integrating the contributions from the Maxwell gauge fields and an effective cosmological constant that depends on the Dirac scalar field. Our analysis reveals how these modifications influence various cosmological scenarios, including power-law evolution, de Sitter-like expansion, inflationary phases, non-singular bounce cosmologies, and cyclic cosmologies.