If it was a pulley for the front, lay a 4 x 4 or a couple of 2 x 4's across the front of the trailer making sure they span the frame. If it is a rear pulley, do this procedure across the rear. Lower the top on the boards. This should give you enough slack in the cable to replace the pulley. You can get replacement pulleys from J&R in Butler, Ohio.
Bob