Microresonators are micron-scale optical systems that confine light using total internal reflection. These optical systems have gained interest in the past two decades due to their compact sizes, unprecedented measurement capabilities, and widespread applications. The increasingly high finesse (or Q factor) of such resonators means that nonlinear effects are unavoidable even for low power, making them attractive for nonlinear applications, including optical comb generation and second harmonic generation. In addition, light in these nonlinear resonators may exhibit chaotic behavior across wide parameter regions. Hence, it is necessary to understand how, where, and what types of such chaotic dynamics occur before they can be used in practical devices. We study here the underlying mathematical model that describes the interactions between the complex-valued electrical fields of two optical beams in a single-mode resonator with symmetric pumping. Recently, it was shown that this model exhibits a wide range of fascinating behaviors, including bistability, symmetry breaking, chaos, and self-switching oscillations. We employ here a dynamical system approach to perform a comprehensive theoretical study that allows us to identify, delimit, and explain the parameter regions where different behaviors can be observed. Specifically, we present a two-parameter bifurcation diagram that shows how (global) bifurcations organize the observable dynamics. Prominent features are curves of Shilnikov homoclinic bifurcations, which act as gluing bifurcations of pairs of periodic orbits or chaotic attractors, and a Belyakov transition point (where the stability of the homoclinic orbit changes). In this way, we identify and map out distinctive transitions between different kinds of chaotic self-switching behavior in this optical device.