I’m not sure if it will work with Marlin easily. Normally you would use a SSR and the PWM of one on the fan headers or one of the spare PWM pins. There sample arduino sketch doesn’t look like a pwm signal.
I could be wrong. That’s my 2 minute assessment. If It does work though great deal for $17.