#include <bits/stdc++.h>
using namespace std;
long long gcd(long long a, long long b) { return b == 0 ? a : gcd(b, a % b); }
long long lcm(long long a, long long b) { return a / gcd(a, b) * b; }
long long inf = 1e9 + 7;
long long modexp(long long base, long long power) {
  if (power == 0) return 1;
  if (power & 1) return base * modexp(base, power - 1) % inf;
  return modexp(base * base % inf, power / 2);
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  long long t = 1;
  cin >> t;
  while (t--) {
    long long n;
    cin >> n;
    string s;
    cin >> s;
    string com = "abacaba";
    long long cnt = 0;
    for (long long i = 0; i < n; i++) {
      if (s[i] == 'a') {
        long long temp = 0;
        for (long long j = i; j < min(i + 7, n); j++) {
          if (s[j] == com[j - i]) temp++;
        }
        if (temp == 7) cnt++;
      }
    }
    if (cnt >= 2)
      cout << "No\n";
    else if (cnt == 1) {
      cout << "Yes\n";
      for (long long i = 0; i < n; i++) {
        if (s[i] == '?') s[i] = 'x';
      }
      cout << s << endl;
    } else {
      bool ok = false;
      string u;
      for (long long i = 0; i < n; i++) {
        string y = s;
        if (s[i] == 'a' || s[i] == '?') {
          for (long long j = i; j < min(i + 7, n); j++) {
            if (s[j] == com[j - i] || s[j] == '?') {
              y[j] = com[j - i];
            } else
              break;
          }
          long long cnto = 0;
          for (long long i = 0; i < n; i++) {
            if (y[i] == 'a') {
              long long temp = 0;
              for (long long j = i; j < min(i + 7, n); j++) {
                if (y[j] == com[j - i]) temp++;
              }
              if (temp == 7) cnto++;
            }
          }
          if (cnto >= 2)
            continue;
          else if (cnto == 1) {
            cout << "Yes\n";
            u = y;
            ok = true;
            break;
          }
        }
      }
      if (!ok)
        cout << "No\n";
      else {
        for (long long i = 0; i < n; i++) {
          if (u[i] == '?') u[i] = 'x';
        }
        cout << u << endl;
      }
    }
  }
  return 0;
}
