Shari Ireton with the sheriff's office said two men tried to break into a home in the 15800 block of Highway 99 at about 10 p.m.
A 54-year-old woman and her 21-year-old son were inside the house, and Ireton said the son grabbed a gun and opened fire on the two burglars. One of the men was hit in the back and the other was hit in the arm, Ireton said.
The burglars, both 20 years old, took off on foot and were captured a short time later.
A neighbor, Lorie Brown, says she watched as the two suspects in black hoodies ran up the driveway away from the residence.
"They ran really fast up the driveway. They left a shoe behind - it's a Nike Air Jordan. ... They ran really fast, and you can tell something went down."
The two were taken into police custody and then transported to Harborview Medical Center for treatment.
Ireton said the homeowners are both cooperating with police.
Brown said the 54-year-old woman who lives in the home is the weekend on-site manager for the nearby Sun Ridge Motel.