Raiders bt Cowboys, move into NRL top four