Pol Lt Somchai Makchuay, of Muang district police station, said Mayako Paji, 37, was attacked by an assailant hidden on a road side with a shotgun while returning home on a motorcycle at about 1.45am.
Mayako was hit many times in the body but managed to speed away to see a friend, who took him to Yala Hospital for treatment.
Earlier in Yala's Thanto district, a power transformer at Ban Batu Pute in tambon Ban Rae was set ablaze.
Eyewitnesses told police that two men came on a motorcycle, placed a car tyre and a piece of cloth soaked with petrol under the transformer and set it on fire.
The damaged transformer caused a power blackout in tambon Ban Rae.