If you position the 2 boxes in the middle of the energy bridge, one on either side, then use the 3rd box on the purple switch, the energy bridge will disappear and the 2 boxes will push against each other in mid air and give you a platform to jump across to the switch.