The student weighs 490 N (Fgrav= 50 kg * 9.8 m/s/s).
To lift a 490-Newton person at constant speed, 490 N of force must be applied to it (Newton's laws). The force is up, the displacement is up, and so the angle theta in the work equation is 0 degrees. Thus,
W = (490 N) * (8 m) * cos (0 degrees) = 3920 Joules