I personally produce technology, and the factory is responsible for production and sales, and then share the profits of individual products. What kind of cooperation is this? How to sign the agreement

If your technology has a patent, apply for a patent, and the factory will buy your patent.

If your technology is not disposable when you work in a factory, then you need to invest in the factory according to the technology. How much profit you can get depends on the profit and cost of your product. The focus is on negotiation. The factory will not only produce your products, will it? You should first consider how much you can earn from this product, and then consider how much you should share.