Irregular time evolution of the radio emission generated in a B2-class microflare (SOL2017-01-25T10:15), occurring on 2017 January 25 in active region 12,628, is studied. The microflare was apparently initiated by an appearance of an s-shaped loop, observed in the EUV band. The radio emission is associated with the nonthermal electrons detected with Ramaty High Energy Solar Spectroscopic Imager, and originates simultaneously from two opposite footpoints of a magnetic fan structure beginning at a sunspot. According to the active region geometry, the footpoints are situated in the meridional direction, and hence are observed by RATAN-600 simultaneously. The radio emission intensity signal, as well as the left-hand and right-hand circular polarization signals in the lowfrequency band (3-4GHz) show good correlation with each other, with the average characteristic time of the variation 1.4±0.3s. The polarization signal shows a time variation with the characteristic time of about 0.7±0.2s. The irregular quasi-periodic pulsations of the radio emission are likely to be caused by the superposition of the signals generated at the local electron plasma frequencies by the interaction of nonthermal electrons with the plasma at the footpoints. In this scenario, the precipitation rate of the nonthermal electrons at the opposite footpoints could be modulated by the superposition of fundamental and second harmonic modes of sausage oscillations, resulting in the observed different characteristic times of the intensity and polarization signals. However, other mechanisms, e.g., the oscillatory regime of loop coalescence or magnetic null point oscillation could not be rigorously excluded.