What you suggest should work but.................
From the age of the computer it may not be worthwhile.
The whole system will be very slow, and may not cope with anything more advanced than 98SE.
RAM may be a problem too the original type SIMMS? being unobtainabe or expensive, the motherboard may be unable to accept more, or cope with a suffiently large HD.