#include <bits/stdc++.h>
using namespace std;
int main() {
  long long t, n;
  string s, p = "abacaba";
  cin >> t;
  while (t--) {
    scanf("%lld", &n);
    cin >> s;
    int f = 0, tot = 0, cnt;
    for (int i = 0; i <= n - 7; i++) {
      cnt = 0;
      for (int j = 0; j < 7; j++) {
        if (p[j] == s[i + j]) cnt++;
      }
      if (cnt == 7) tot++;
    }
    if (tot > 1)
      printf("No\n");
    else if (tot == 1) {
      for (int i = 0; i < n; i++) {
        if (s[i] == '?') s[i] = 'z';
      }
      printf("Yes\n");
      cout << s << endl;
    } else {
      f = 0;
      for (int i = 0; i <= n - 7; i++) {
        cnt = 0;
        if (f == 0) {
          for (int j = 0; j < 7; j++) {
            if (p[j] == s[i + j] || s[i + j] == '?') cnt++;
          }
          int ff = 0, kk = 0;
          if (i + 10 < n) {
            for (int j = 3; j < 7; j++) {
              if (p[j] != s[i + 4 + j]) ff = 1;
            }
            if (ff == 0) cnt++;
          }
          if (i - 4 >= 0) {
            for (int j = 0; j < 4; j++) {
              if (p[j] != s[i - 4 + j]) kk = 1;
            }
            if (kk == 0) cnt++;
          }
          if (cnt == 7) {
            for (int j = 0; j < 7; j++) {
              if (p[j] == s[i + j] || s[i + j] == '?') s[i + j] = p[j];
            }
            f = 1;
          }
        }
        if (s[i] == '?') s[i] = 'z';
      }
      for (int i = 0; i < n; i++) {
        if (s[i] == '?') s[i] = 'z';
      }
      if (f == 0)
        printf("No\n");
      else {
        printf("Yes\n");
        cout << s << endl;
      }
    }
  }
}
