Take your momentary switch (mine is from an old computer that was trashed) and put the leads through the hole in the center of the cap. You may have to clear out some space for the switch to get a good fit. I also had to trim the unused leads on the bottom of the switch.
Apply some hot glue around the switch to fix it in place. Press it back into the threaded tailcap.