A trial for a Brownsville customs officer ended with a jury finding him guilty of buying guns for other people.