For the switch puzzle it's best to turn your graphics to low so that you'll move faster. I couldn't get off the third platform in time after hitting the switch because my graphics made me slower.
An easy way is to just go to the last button to open the wall with the armor and sword. Get right in front of the pit and aim your pointer at the switch and click it right before you fall then come back up and kill the skeletons.