You can make this work by setting the administrative distance of the static routes to be greater than 110 when you initially enter them. You can set the AD of a static route by simply adding a number to the end of the "ip route" statement such as "ip route 0.0.0.0 0.0.0.0 192.168.1.1 254" where 254 is the administrative distance.
There are at least three ways to attempt to remove the OSPF without worrying about your remote access. The first and easiest is simply to make certain that you can telnet across your point-to-point link from the near router to the far router. You don't need OSPF for that, but your ACLs may not permit this. Second, you can remove OSPF from the near side first; if you lose access to the remote side then you can just put the OSPF config back on the router to which you still have access.
Third, if you're feeling brave then you can save your config before you make your changes and issue the "reload in" command before you remove OSPF from the far router so that the router will automatically reload and revert to a working configuration if the new config fails. This could result in some extended downtime, however, and is not ideal.
I am making the presumption you have a good reason to do this, so I'll get straight to the question.
My recommendation would be to add the static routes, a few at a time, and then monitor the environment and verify routing converges onto the lower AD-cost static routes. Then you can add the rest.
Once you see it all has converged, execute the removal of OSPF routes in a very similar fashion. Remove a route that does not impact connectivity to the device, and confirm routing is stable and still functional. Remove any routes that impact routing to the device last.
With the removal of dynamic routing you will need static routes on both side to ensure that both sides of the network know how to get to eachother. My explanation is simply speaking from one side of the network.
Ideally if you do not want to load balance across both links, you would use two static routes on the spoke. The normal static pointing out of the primary link and then you have a floating static pointing out of the secondary link.
I agree with Biggy Biggy,
Install static routes with lower AD than OSPF
Everytime you enter a new static route you will see your OSPF route drop from the RIB. Once there are no more OSPF routes in RIB go ahead and disable OSPF.
no risk at all asd long as you check with sh ip route before disabling OSPF