Delay automation when user use switch

Sure you can, if you create a triggered template sensor to store the context when the switch was turned on. See: Access to trigger.to_state.context from a different entity? - #3 by tom_l