Gay also grabbed eight rebounds for Toronto, which has made a playoff push since obtaining him Jan. 30 in a three-team trade involving Memphis and Detroit.
With the victory, the Raptors pulled to within 5 1/2 games of Milwaukee for the eighth and final Eastern Conference playoff spot.
Bradley Beal supplied 25 points for the Wizards, who dropped a second straight.
'SNL': 'Anchorman 2' cast, One Direction sing 'Afternoon Delight' [VIDEO]
Trader Joe's: Car crashes into Long Island store, injuring 11