We report a survey of excited-state hydroxyl (ex-OH) masers at the 4.7 and 6.0 GHz transitions toward a sample consisting of 3348 massive star-forming region candidates selected from the all-sky Wide-field Infrared Survey Explorer point-source catalog. The survey was conducted with the Shanghai Tianma Radio Telescope. In total, 6, 9, and 30 sources were detected with the ex-OH masers at the 4766, 6031, and 6035 MHz transitions, respectively. Among them, one 4766 MHz, one 6031 MHz, and five 6035 MHz ex-OH maser sources are newly identified. A series of statistical analyses derived that the ex-OH masers were detected efficiently toward the subsamples associated with both the 6.7 GHz CH3OH maser and radio recombination lines (RRLs), whereas compared to the CH3OH masers, the ex-OH masers are more likely to be produced toward the sources with stronger 22 μm band emission. A significant luminosity correlation is found between the ex-OH masers and RRLs. In addition, we found that the magnetic field strength of most sources with the 6.7 GHz CH3OH maser was stronger relative to that of sources without the CH3OH maser. Combined with these, it demonstrates that the ex-OH maser is associated with more evolved star-forming regions, likely associated with thicker dust envelopes. Meanwhile, the ex-OH masers might be a potential tracer for measuring the Galactic magnetic field information on the large-scale views using their Zeeman pairs.