Farmer on firearm charges after allegedly pulling gun