Answer
$W = -2370~J$
Work Step by Step
We can find an expression for $p$:
$pV = nRT$
$p = \frac{nRT}{V}$
We can find the work done by the gas:
$W = \int_{V_i}^{V_f}~p~dV$
$W = \int_{4.00}^{3.00}~\frac{nRT}{V}~dV$
$W = nRT~ln(V)~\Big \vert_{4.00}^{3.00}$
$W = (3.50~mol)(8.31~J/mol~K)(283~K)~[ln(3.00)-ln(4.00)]$
$W = -2370~J$