You can't do that with just a gearbox. As others have said if you step up the rpm by a factor of 515 you will step down the torque by the same factor. This is due to conservation of energy (law of physics).
There is another potential problem.. Any friction in the bearings of the output shaft is seen at the input shaft but magnified 515 times. This makes frequently makes high ratio step up gearboxes impractical.
Perhaps if you explain why you need such a step up we can figure out another way. Is this anything to do with hand cranked generators?