Any crime punishable with a prison sentence over 12 months is a felony. No, it's not legal to sell him a gun. You can try, but it would be a waste of $30.