Let's start with the sketches.
Are all of your sketches fully defined (no blue curves, no white dots) red padlock?
Do you have appropriate real-world clearances between mating components?
One possible solutions for other interested parties.
(I didn't take the time to edit for appropriate assembly/motion clearances.)