well, you can do that, but TTL input takes no power it´s just control signal ;-)
the problem using Fan Pin is that it is "double used" and responses to the M106 so it cannot work on the M3/M5 commands.
If you use the servo pin as i suggested it will work on the M3/M5 and be shure you´ll be grateful to have the blowerPin
free for a blower when engraving wood
if you really want to keep the D9 change in your configuration.h
#undef FAN_PIN
#define FAN_PIN 9 <--- change to 5
#define LASER_PIN 9
so test code could be :
M452 <- switch to Laser Mode
M3 S255 <- Laser on (no change as Laser needs a move to switch on)
G1 x100 F300 <- move to x100 with Laser on
G0 x0 <-move back to x0 with Laser off
M5 <- switch Laser off
G1 x100 <- move to x100 with Laser Off