Multi shaders in one

Dears,

I’m trying to do an urgent task but it seems a bit difficult for me.

I have two shaders every one have it’s functions and I would like to put them in the same shader in order to use one material in my object.
Please is there an easy way to do that.

I would like to thank very much for your help!

Any suggestions please!

If you’d have them both in one material, how would you be able to switch between them? You need to elaborate on how you are using them.