You have not said what pump you are working on, but if a TRW or Federal and you try to press it on, you will unseat the pump, and it will not prime.

The pulley is pulled on with a threaded screw and rotating washer/bearing. It is pulled off with a simple pulley tool. All the work/forces are on the shaft, not the whole assembly. Read the Service Manual.