#include <bits/stdc++.h>
using namespace std;
int count_number(string str, string s) {
  int count = 0, flag = 0;
  for (int i = 0; i <= str.length() - 7; i++) {
    flag = 0;
    if (str[i] == 'a') {
      for (int j = 0; j < s.length(); j++) {
        if (s[j] == str[i + j])
          continue;
        else {
          flag = 1;
          break;
        }
      }
      if (flag == 0) count++;
    }
  }
  return count;
}
void solve(string str, string s) {
  string snew = str;
  int k = 0;
  int count = 0;
  for (int i = str.length() - 1; i >= 0; i--) {
    if (str[i] == 'a' || str[i] == '?') {
      k = 0;
      for (int j = i; j >= 0; j--) {
        if (str[j] != '?')
          k++;
        else
          str[j] = s[k++];
        if (k == 7) break;
      }
    }
    count = count_number(str, s);
    if (count == 1)
      break;
    else
      str = snew;
  }
  if (count == 1) {
    for (int i = 0; i < str.length(); i++)
      if (str[i] == '?') str[i] = 'd';
    cout << "Yes\n";
    cout << str << endl;
  } else
    cout << "No\n";
}
int main() {
  int tc;
  cin >> tc;
  while (tc--) {
    int n;
    cin >> n;
    string str;
    cin >> str;
    string s = "abacaba";
    int count = count_number(str, s);
    if (count > 1) {
      cout << "No\n";
    } else if (count == 1) {
      for (int i = 0; i < str.length(); i++)
        if (str[i] == '?') str[i] = 'd';
      cout << "Yes\n";
      cout << str << endl;
    } else {
      solve(str, s);
    }
  }
}
