In consecutive seasons, including the one mentioned here, Carlisle went from 4th division, to 3rd Division, to 2nd Division, to 1st Division (including being top), to 2nd Division, to 3rd Division, to 4th Division.
Sorry mate not correct for Carlisle . They took from 1964-1987 to go from Div 4 to Div 1 & back again
The closest I believe it’s been done is Northampton Town over 9 seasons
1961 Div 4 (3rd) promotion
1963 Div 3 (1st) promotion
1965 Div 2 (2nd) promotion
1966 Div 1 (21st) relegation
1967 Div 2 (21st) relegation
1969 Div 3 (21st) relegation
They’ve never got out of the bottom two divisions since and hadn’t before
What a roller coaster for the fans
Edit
Swansea City did basically the same
1978 Div 4 (3rd) promotion
1979 Div 3 (3rd) promotion
1981 Div 2 (3rd) promotion
1983 Div 1 ( 21st) relegation
1984 Div 2 (21st) relegation
1986 Div 3 (24th) relegation
Also done in 9 seasons but Swansea did finish 6th in Division 1 in 1982
Remarkable really