Kenmore Trash Compactor

My Kenmore trash compactor does work but you have to hold the switch down while it goes down then up. If you let go of the switch, it stops where ever it is. What part do I need?