#include <bits/stdc++.h>
using namespace std;
long long mx = INT_MAX;
long long mi = INT_MIN;
const long long mod = 1000000007;
const long long inf = 0x3f3f3f3f;
const long long INF = 0x3f3f3f3f3f3f3f3fLL;
int main() {
  {
    ios ::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);
  };
  long long t;
  cin >> t;
  while (t--) {
    long long n, i, j, k, s = 0, p = 0, q = 0, r = 0, o;
    cin >> n;
    string st;
    cin >> st;
    string sst = "abacaba";
    string sx;
    for (i = 3; i <= n - 4; i++) {
      sx = st;
      o = 0;
      r = 0;
      if (st[i] == '?' || st[i] == 'c') {
        if ((st[i - 1] == 'a' || st[i - 1] == '?') &&
            (st[i - 2] == 'b' || (st[i - 2] == '?')) &&
            (st[i - 3] == 'a' || st[i - 3] == '?'))
          o++;
        if ((st[i + 1] == 'a' || st[i + 1] == '?') &&
            (st[i + 2] == 'b' || (st[i + 2] == '?')) &&
            (st[i + 3] == 'a' || st[i + 3] == '?'))
          o++;
      }
      if (o == 2) {
        r = 0;
        sx[i - 3] = 'a';
        sx[i - 2] = 'b';
        sx[i - 1] = 'a';
        sx[i] = 'c';
        sx[i + 1] = 'a';
        sx[i + 2] = 'b';
        sx[i + 3] = 'a';
        for (j = 0; j <= n - 7; j++) {
          string sr = sx.substr(j, 7);
          if (sr == sst) r++;
        }
        if (r == 1) {
          p = 1;
          break;
        }
      }
    }
    if (p != 1) {
      cout << "no"
           << "\n";
      continue;
    } else {
      cout << "yes"
           << "\n";
      for (i = 0; i < n; i++) {
        if (sx[i] == '?') sx[i] = 'z';
      }
      cout << sx << "\n";
    }
  }
  cerr << "Time : " << 1000 * ((double)clock()) / (double)CLOCKS_PER_SEC
       << "ms\n";
  ;
}
