In this paper, we study congruences on sums of products of binomial coefficients that can be proved by using properties of the Jacobi polynomials. We give special attention to polynomial congruences containing Catalan numbers, second-order Catalan numbers, the sequence S-n = [GRAPHICS] , and the binomial coefficients [GRAPHICS] and [GRAPHICS] . As an application, we address several conjectures of Z. W. Sun on congruences of sums involving S-n and we prove a cubic residuacity criterion in terms of sums of the binomial coefficients [GRAPHICS] conjectured by Z. H. Sun.