You won't be able to "replace" the out of the box workflow but after you deploy,
install, and activate your workflow Feature, it will show up in the dialog when
you try to associate workflows with a given list, just like the out of the box
workflow. It will also be included in the workflow gallery in the Site Settings
of the top-level site in the site collection.