#include <bits/stdc++.h>
using namespace std;
signed main() {
  ios_base::sync_with_stdio(false);
  long long t;
  cin >> t;
  while (t--) {
    long long n;
    cin >> n;
    string a;
    string k = {"abacaba"};
    cin >> a;
    long long p = 0;
    vector<long long> v;
    for (long long i = 0; i < n; i++) {
      if (i + 7 <= n) {
        long long z = 0;
        for (long long j = i; j < i + 7; j++) {
          if (a[j] == k[z])
            z++;
          else
            break;
        }
        if (z == 7) p++;
      }
    }
    if (p > 1) {
      cout << "No" << endl;
      continue;
    }
    if (p == 1) {
      cout << "YES" << endl;
      for (long long i = 0; i < n; i++) {
        if (a[i] == '?') a[i] = 'z';
      }
      cout << a << endl;
      continue;
    }
    p = 0;
    for (long long i = 0; i < n; i++) {
      if (i + 7 <= n) {
        long long z = 0;
        for (long long j = i; j < i + 7; j++) {
          if (a[j] == k[z] || a[j] == '?')
            z++;
          else
            break;
        }
        if (z == 7) {
          v.push_back(i);
        }
      }
    }
    if (v.size() == 0) {
      cout << "No" << endl;
      continue;
    }
    long long x = 0;
    for (long long r = 0; r < v.size(); r++) {
      long long c = 0;
      string s = a;
      long long z = 0;
      for (long long i = v[r]; i < v[r] + 7; i++) {
        s[i] = k[z];
        z++;
      }
      for (long long i = 0; i < n; i++) {
        if (s[i] == '?') s[i] = 'z';
      }
      for (long long i = 0; i < n; i++) {
        if (i + 7 <= n) {
          long long z = 0;
          for (long long j = i; j < i + 7; j++) {
            if (s[j] == k[z])
              z++;
            else
              break;
          }
          if (z == 7) c++;
        }
      }
      if (c == 1) {
        cout << "YES" << endl;
        cout << s << endl;
        x++;
        break;
      }
    }
    if (x == 0) {
      cout << "No" << endl;
    }
  }
}
