High-pressure gas switch for a wideband source