In her circumstances I cannot think of any category of the Immigration Rules she could switch into inside the UK. If she has evidence her husband has been working or self-employed for the last 5 years, while she was also in the UK and still married to him, then she should apply for PR using whateve...