Transparent conductive thin films with effective near- UV attenuation are becoming crucial for UV-shielding technologies, smart windows, protective coatings, and next-generation optoelectronic devices. Among the commercially available transparent conducting oxides, ITO has been extensively utilized because of its optimum combination of high optical transparency and electrical conductivity. However, the development of alternative transparent conductive materials with tunable optical properties is required due to the relatively broad optical bandgap of ITO, which limits efficient near-UV absorption, additionally owing to the scarcity of Indium, alternate to indium free TCO are of research focus. We report AZO thin films processed through cost-effective deposition with engineered optical bandgap that enables improved near-UV absorption compared to commercial ITO. The AZO films exhibit an optical bandgap of ~3.27 eV compared to ~4.11 eV for commercial ITO, enabling enhanced absorption in the near-ultraviolet region while maintaining optical transparency in the visible range. The defect-mediated electronic changes linked to oxygen vacancy creation and Al incorporation are proposed to contribute to the enhanced UV attenuation behavior. A real-time in-house ultraviolet intensity measurement system was developed in order to experimentally test the UV-shielding capabilities and showed a notable suppression of transmitted UV light.