While there might be an inertia switch (which cuts power to the fuel pump in a collision), this is usually located under the dash or in the engine compartment and isn't intended for routine use. It's not a simple on/off switch.
To stop fuel flow in an emergency, your best option is to turn the ignition key to the "off" position.