We demonstrate a strong thermal rectification effect based on the thermal radiation between two InSb nanospheres, with the magnetic field breaking the symmetry of system. The results reveal the thermal rectifier can achieve good efficiency in the temperature band from 330 K to 500 K and the high rectification factor is up to 100 under the temperature bias of 100 K. Strong on- and off-resonance switching regulated by magnetic field leads to large difference of thermal flux in the forward and reverse scenarios. This study might be useful for efficient thermal management, thermal radiative insulation, and thermal information processing.