If you lift the weight off quickly (so that the external force on the gas is much lower), the expansion will be irreversible. Under these circumstances, even though the cylinder is in contact with a constant temperature reservoir at its surface, only the surface of the gas will be at the specified temperature, and the interior of the gas will drop to a lower (non-spatially-uniform) temperature throughout the expansion (until final equilibrium is reached, and the gas is again at the reservoir temperature). In the interim, heat conduction will be occurring within the gas.
In addition, the force that the gas imposes on the piston will be a combination of the effect of viscous (tensile) stresses within the gas plus what we ordinarily would consider the gas pressure under static conditions. Initially, for the irreversible case, all the change in force will be supported by viscous stresses, which are proportional, not to the change in volume but, to the rate of change of volume. So, during the irreversible expansion, the gas ceases to behave like an ideal gas and ceases to satisfy the ideal gas law (which applies only at thermodynamic equilibrium) within the cylinder. As equilibrium is approached, the rate of change of volume decreases, and the viscous stresses make less of a contribution to the overall force of the gas on the piston. At final equilibrium, the viscous stresses are again zero, and the force on the piston is entirely described by the ideal gas law.
To get a better feel for all this, imagine that the gas behaves like a combination of a spring (preloaded in compression) in parallel with a viscous damper, with the combination joined mechanically to the rear end of the cylinder and to the piston. The spring mimics the ideal gas behavior of the gas and the viscous damper mimics the viscous behavior of the gas. If the piston moves very slowly, the force on the piston is dominated by the spring (ideal gas behavior). But, if the piston moves very rapidly, the change in the force on the piston is dominated by the viscous behavior. In line with this conceptualization, a crude approximation to the behavior of a gas experiencing either a slow- or a rapid deformation can be expressed as:
$$\frac{F}{A}=\frac{nRT}{V}-\frac{k}{V}\frac{dV}{dt}$$where F is the force of the gas on the piston and k is a constant proportional to the gas viscosity. The first term captures the thermodynamic equilibrium behavior of the ideal gas, and the second term captures the viscous contribution.
To get a better understanding of the viscous Newtonian behavior of fluids (including gases), I highly recommend Transport Phenomena by Bird, et al.