A family of Microsoft word processing software products for creating web, email, and print documents.
Because header/footer and other section-related information is stored in the section break at the end of the section (or in the final pilcrow of the last section), Word won't "see" the section 62 header/footer on page 40. It considers the header/footer of that page to belong to section 61.
A workaround is to copy section 62 (carefully not selecting the section break between sections 61 and 62) and paste it into a new blank document that you can print. To maintain the same page break, increase the Space Before setting of the first paragraph of the section to push it down the page to its original location.
However, I have to question the rationale for having 62 sections in a short document. Are you changing any section-related settings from one section to the next? https://wordmvp.com/FAQs/Formatting/WorkWithSections.htm