Support: Gradle version & support version

I have 2 gradle version in my app and I like to use latest version but there is some questions that I need answer for before taking any action,

gradle

How do I switch from version 4.10.3 to 5.1.1 (where should i make changes?)
Does version 5.1.1 works with all cordova plugins? (I don’t want get errors after switching)
What is difference between 4.10.3 and 5.1.1?

Note: I just need general information of this matter that’s all.

Thank you.