By using Google to search for 'Lippert 325979
' I found bed tilt mechanisms with a gear rack. https://manuals.heartlandowners.org/...Components.pdf
I didn't find a bed retraction system, but if you contact Lippert or Schwintek (part of Lippert Industries) perhaps they can help you more.
You could also contact Fleetwood and ask for information about the mechanism.