can a toyota o2 sensor be used to replace a bad o2 sensor on a 2005 Honda CiVic? on 2005 Honda Civic

Mine went bad and a mechanic told me that it can be replaced by a toyota one, they just have to switch the connectors to make it fit. But honda and toyota have two different computer systems, so i don"t know how wise is that even though another mehcanic told me the fuel ratio between the two are not that different,

1 answer
I would just get the right sensor for that vehicle