Existence results for a class of $p$-Laplacian problems with sign-changing weight