So if I understand, you're trying to temporarily change scenes. You wouldn't send ON/OFF messages, you would send two ON messages; on to the scene you want to temporarily switch to while the button is depressed, and then another ON message to revert to the scene you were on prior to the press, to be activated as you release the pedal. Am I in the neighborhood here? Because, as has been stated above, the Axe III does not have any sort of "OFF" function for scenes; but if you're in a preset, you're in a scene.
So it would just be a matter of programming the release of the button with the ON of the scene you started with. There isn't a way to do that in the Axe, that I'm aware of, but your MIDI controller might have the capability of recalling that info. For instance, if Scene 1 was your default, and you wanted to go to scene 4 temporarily, you'd program the pedal ON Scene 4 (when depressed), and ON Scene 1 (when released). I don't know a way to do this if you were on scene 3 and you wanted to use the same switch to go temporarily to Scene 4 and then back to 3 - unless you programmed another switch for it, since it was already programmed to go back to Scene 1.