Ask an Immigration Solicitor. Get an Answer ASAP.
You are likely to fall under the cooling off period which means if you switch you cannot apply for a Tier 2 until 12 months have passed.
You switched from a Tier 2 to a dependent visa and now you wish to switch back to a Tier 2 visa. The cooling off period applies to you. You cannot switch to a Tier 2 until after 12 months.
The Tier 2 cooling off period prohibits a Tier 2 visa holder from returning to the UK for a period of 12 months after the expiry of their Tier 2 visa, or from switching back to a Tier 2 visa from another UK leave category within 12 months.
You would not be exempt from the RLM test as you are switching immigration categories