welcome to the board!
not 100% sure what your asking for
so you have a pedal like this then ?
and you just want to replace it with a stomp switch? if so just remove and resolder the two leads to the stomp switch, one on a center pin and one on an outside pin (both in the same row if there are more then one) and thats that. if i’m missing something let me know? also if your switch is a click on / click off and not a momentary then it will stay sustaining until you click it off again, but that might be what you want.