In the dictionary
way to do something
That's not the right way to hold a pair of scissors.
(informal, disapproving) That's no way to speak to your mother!
way of doing something
I'm not happy with this way of working.
I am not sure if "way to do something" & "way of doing something" can be used interchangeably?
Can I say:
I'm not happy with this way to work.
&
That's not the right way of holding a pair of scissors.