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.
Wisconsin business offering 'therapeutic cuddling' forced to close
Police: Sword-wielding man demanded free tacos