#include <bits/stdc++.h>
using namespace std;
string ex = "abacaba";
int check(string s, int n) {
  int x = 0;
  for (int i = 1; i <= n - 6; i++) {
    bool flg = true;
    for (int j = i; j < i + 7; j++) {
      if (s[j] != ex[j - i]) flg = false;
    }
    if (flg) x++;
  }
  return x;
}
void solve() {
  int n;
  cin >> n;
  string s = "a";
  string s1;
  cin >> s1;
  s += s1;
  int a1 = 0, a2 = 0;
  for (int i = 1; i <= n - 6; i++) {
    string ss = s;
    bool flg = false, flg1 = true;
    for (int j = i; j < i + 7; j++) {
      if (s[j] == '?')
        flg = true, s[j] = ex[j - i];
      else if (s[j] != ex[j - i]) {
        flg1 = false;
        break;
      }
    }
    for (int j = 1; j < i; j++)
      if (s[j] == '?') s[j] = 'z';
    for (int j = i + 7; j <= n; j++)
      if (s[j] == '?') s[j] = 'z';
    if (flg && flg1) {
      int x = check(s, n);
      if (x == 1) {
        cout << "YES\n";
        for (int i = 1; i <= n; i++) cout << s[i];
        cout << "\n";
        return;
      }
    }
    if (!flg && flg1) a1++;
    if (a1 > 1) {
      cout << "NO\n";
      return;
    }
    s = ss;
  }
  if (a1 == 1) {
    cout << "YES\n";
    for (int i = 1; i <= n; i++) {
      if (s[i] == '?')
        cout << 'z';
      else
        cout << s[i];
    }
    cout << "\n";
    return;
  }
  cout << "NO\n";
  return;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int t;
  cin >> t;
  while (t--) solve();
  return 0;
}
