Override third part bundle classes

How can I override (replace) any class from vendor with custom class in my bundle?
For example I would replace class Wvision\Bundle\DataDefinitionsBundle\Importer\Importer with my class in my bundle
How should be config.yml ?

Without knowing the details of that class maybe something here can help you https://symfony.com/doc/current/bundles/override.html.