Deputies: Man in custody after firing shots at Walmart