Microstructural, Magnetic, Magnetocaloric, and Electrical Properties of Ni0.4Mg0.3Cu0.3Fe2O4 Ferrite Prepared Using Sol–Gel Method