Cost depends on who is doing the work. Parts will probably cost less than $100 for a full pump R & R. What is the serial number? If a shop does the work, probably triple or more. Not faulting shops - They need to eat and pay employees/overhead.
Did it hurt the motor? It depends on how long before you knew it was hot and what you did then.