A wavelength-switchable ring-cavity ytterbium-doped fiber laser utilizing an all-fiber Lyot interferometer filter was proposed and experimentally demonstrated. Firstly, the Lyot filter was constructed using a polarization-maintaining fiber (PMF) to obtain a comb interferometer effect, and the free spectrum ranges corresponding to 2.5 and 1 m PMF were 2.2 and 6.4 nm, respectively. Then, wavelength-switchable ytterbium-doped fiber emission was realized in the experiment, and the tunable range for the single-wavelength laser was from 1073.76 to 1086.78 nm, with a power variation of less than 1.959 dB. During the experiment, four different sets of double-wavelength lasers were achieved by adjusting the polarization controller (PC) from 1071.64 to 1081.65 nm; in addition, three different sets of triple-wavelength lasers were realized, and the signal-to-noise ratio (SNR) was more than 33.031 dB. For stable single-, double-, and triple-wavelength lasers, the power shifts were less than 0.574, 0.631, and 1.195 dB, respectively. Through adjusting the PC, quadruple-wavelength-switchable lasers could be realized with an SNR exceeding 26.233 dB.