Relay-assisted hybrid beamforming plays an inevitable role in enhancing network coverage, transmission range, and spectral efficiency while simultaneously reducing hardware cost, power consumption, and hardware implementation complexity. This study investigates a cognitive radio network (CRN)-based hybrid wideband transceiver for millimeter-wave (mm-wave) decode-and-forward (DF) relay-assisted multiuser (MU) multiple-input multiple-output (MIMO) systems. It is worth mentioning that the underlying problem has not been addressed so far, which is a real motivation behind the proposed algorithm. The joint optimization of hybrid processing components and the constant amplitude constraints imposed by the analog beamforming solution make this problem non-convex and NP-hard. Furthermore, the analog beamformer common to all sub-carriers is another challenging aspect of the underlying problem. To derive the frequency-flat analog processing component in the radio frequency (RF) domain and frequency-dependent baseband processing matrices in the baseband domain, the original complicated problem is reformulated as two single-hop sum-rate maximization sub-problems. Taking advantage of this decomposition, the sum spectral efficiency is maximized through RF precoding and combining. On the other hand, the impact of interference among transmitted data streams and inter-user interference (IUI) is minimized via baseband processing matrices. Finally, computer simulations are conducted by changing system parameters, considering both perfect and imperfect channel state information (CSI). Simulation results demonstrate that the proposed algorithm achieves performance close to full-complexity precoding and outperforms other well-known hybrid beamforming techniques. Specifically, more than 95% efficiency is achieved with perfect CSI, and more than 90% efficiency is attained under the assumption of 30% error in the estimated channels.