Control PWM for Mac Boost Solenoid

Ideally I'd like to make a pcb