Changing 240V plug type
Your wiring does match up the ground, neutral, and phases, so it would supply power, and since it is a 50 amp circuit it has more than enough juice for a 20 amp appliance, but it isn't really safe.  The appliance and its cord etc. are designed to be safe with a breaker that trips at 20 amps, not 50.